Prettify paths
This commit is contained in:
parent
0332485ad6
commit
b613fb39fb
|
@ -103,7 +103,7 @@ class POWERProxy():
|
|||
|
||||
def copy_file(self, target):
|
||||
execute(copy_file_as_root,
|
||||
"%s/%s" % (CHARM_SCRATCH_DIR, target),
|
||||
"%s%s" % (CHARM_SCRATCH_DIR, target),
|
||||
target)
|
||||
|
||||
def restart_service(self, service):
|
||||
|
@ -124,7 +124,7 @@ class POWERProxy():
|
|||
|
||||
def commit(self):
|
||||
for f in CONFIG_FILES:
|
||||
if os.path.exists("%s/%s" % (CHARM_SCRATCH_DIR, f)):
|
||||
if os.path.exists("%s%s" % (CHARM_SCRATCH_DIR, f)):
|
||||
self.copy_file(f)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue