Merge lp:~mwhudson/ssh-import-id/nameerror into lp:ssh-import-id

Proposed by Michael Hudson-Doyle
Status: Merged
Merge reported by: Scott Moser
Merged at revision: not available
Proposed branch: lp:~mwhudson/ssh-import-id/nameerror
Merge into: lp:ssh-import-id
Diff against target: 12 lines (+1/-1)
1 file modified
ssh_import_id/__init__.py (+1/-1)
To merge this branch: bzr merge lp:~mwhudson/ssh-import-id/nameerror
Reviewer Review Type Date Requested Status
ssh-import-id Pending
Review via email: mp+345335@code.launchpad.net

Description of the change

fix nameerror on unsupported protocol

To post a comment you must log in.
Revision history for this message
Scott Moser (smoser) wrote :

Merged this in git.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'ssh_import_id/__init__.py'
2--- ssh_import_id/__init__.py 2017-07-11 20:51:44 +0000
3+++ ssh_import_id/__init__.py 2018-05-10 03:38:15 +0000
4@@ -202,7 +202,7 @@
5 elif proto == "gh":
6 return fetch_keys_gh(username, useragent)
7 else:
8- die("ssh-import-id protocol handler %s: not found or cannot execute" % (proto_cmd_path))
9+ die("ssh-import-id protocol handler %r: not found" % (proto))
10
11
12 def import_keys(proto, username, useragent):

Subscribers

People subscribed via source and target branches