super().__setattr__(name, value)
-##################################
-
-
# Log and console output config
logging_config = {
'version': 1,
os.chown(dst_file, uid, gid)
-## copied from distutils ##
+# copied from distutils
def find_executable(executable, path=None):
"""Tries to find 'executable' in the directories listed in 'path'.
A string listing directories separated by 'os.pathsep'; defaults to
def list_networks(ctx):
# type: (CephadmContext) -> Dict[str,List[str]]
- ## sadly, 18.04's iproute2 4.15.0-2ubun doesn't support the -j flag,
- ## so we'll need to use a regex to parse 'ip' command output.
- ##
+ # sadly, 18.04's iproute2 4.15.0-2ubun doesn't support the -j flag,
+ # so we'll need to use a regex to parse 'ip' command output.
+ #
# out, _, _ = call_throws(['ip', '-j', 'route', 'ls'])
# j = json.loads(out)
# for x in j: