← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~cjwatson/txpkgupload:charm-fix-log-messages into txpkgupload:master

 

Colin Watson has proposed merging ~cjwatson/txpkgupload:charm-fix-log-messages into txpkgupload:master.

Commit message:
charm: Fix missing space in log messages

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~cjwatson/txpkgupload/+git/txpkgupload/+merge/454765
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~cjwatson/txpkgupload:charm-fix-log-messages into txpkgupload:master.
diff --git a/charm/txpkgupload/reactive/txpkgupload.py b/charm/txpkgupload/reactive/txpkgupload.py
index c563685..689aa90 100644
--- a/charm/txpkgupload/reactive/txpkgupload.py
+++ b/charm/txpkgupload/reactive/txpkgupload.py
@@ -68,7 +68,7 @@ def write_ssh_keys(config: Dict):
     sftp_host_key_private_path = os.path.join(keys_dir, "ssh-host-key")
     hookenv.log(
         "Writing private ssh key"
-        + "from config to: {}".format(sftp_host_key_private_path)
+        + " from config to: {}".format(sftp_host_key_private_path)
     )
     host.write_file(
         sftp_host_key_private_path,
@@ -80,7 +80,7 @@ def write_ssh_keys(config: Dict):
     sftp_host_key_public_path = os.path.join(keys_dir, "ssh-host-key.pub")
     hookenv.log(
         "Writing public ssh key"
-        + "from config to: {}".format(sftp_host_key_public_path)
+        + " from config to: {}".format(sftp_host_key_public_path)
     )
     host.write_file(
         sftp_host_key_public_path,