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

Proposed by Colin Watson
Status: Merged
Approved by: Colin Watson
Approved revision: f8724530e39e2f5e0de0e62f1712cb08a784ce44
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: ~cjwatson/txpkgupload:charm-fix-log-messages
Merge into: txpkgupload:master
Diff against target: 22 lines (+2/-2)
1 file modified
charm/txpkgupload/reactive/txpkgupload.py (+2/-2)
Reviewer Review Type Date Requested Status
Ines Almeida Approve
Review via email: mp+454765@code.launchpad.net

Commit message

charm: Fix missing space in log messages

To post a comment you must log in.
Revision history for this message
Ines Almeida (ines-almeida) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/charm/txpkgupload/reactive/txpkgupload.py b/charm/txpkgupload/reactive/txpkgupload.py
2index c563685..689aa90 100644
3--- a/charm/txpkgupload/reactive/txpkgupload.py
4+++ b/charm/txpkgupload/reactive/txpkgupload.py
5@@ -68,7 +68,7 @@ def write_ssh_keys(config: Dict):
6 sftp_host_key_private_path = os.path.join(keys_dir, "ssh-host-key")
7 hookenv.log(
8 "Writing private ssh key"
9- + "from config to: {}".format(sftp_host_key_private_path)
10+ + " from config to: {}".format(sftp_host_key_private_path)
11 )
12 host.write_file(
13 sftp_host_key_private_path,
14@@ -80,7 +80,7 @@ def write_ssh_keys(config: Dict):
15 sftp_host_key_public_path = os.path.join(keys_dir, "ssh-host-key.pub")
16 hookenv.log(
17 "Writing public ssh key"
18- + "from config to: {}".format(sftp_host_key_public_path)
19+ + " from config to: {}".format(sftp_host_key_public_path)
20 )
21 host.write_file(
22 sftp_host_key_public_path,

Subscribers

People subscribed via source and target branches

to all changes: