Prettify paths

This commit is contained in:
James Page 2014-11-10 11:40:13 +00:00
parent 0332485ad6
commit b613fb39fb
1 changed files with 2 additions and 2 deletions

View File

@ -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)