aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-07-11 13:38:07 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2008-07-11 13:38:07 -0700
commit800ac5b58a60de070a10cafce609f28fc2905691 (patch)
treef6db77543537991a7d1bb383383626c744bea488
parentIgnore some useless lines. (diff)
downloadgitosis-dakkar-800ac5b58a60de070a10cafce609f28fc2905691.tar.gz
gitosis-dakkar-800ac5b58a60de070a10cafce609f28fc2905691.tar.bz2
gitosis-dakkar-800ac5b58a60de070a10cafce609f28fc2905691.zip
Fixup whitespace.
-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()