aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gitosis/ssh.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gitosis/ssh.py b/gitosis/ssh.py
index 6223866..bfd52fb 100644
--- a/gitosis/ssh.py
+++ b/gitosis/ssh.py
@@ -30,6 +30,7 @@ def readKeys(keydir):
line = line.rstrip('\n')
if line.startswith('#'):
continue
+ line = line.strip()
if len(line) > 0:
yield (basename, sshkey.get_ssh_pubkey(line))
fp.close()