src/mercurialserver/refreshauth.py
branchdebian
changeset 313 f597eb3b5aaf
parent 311 3cbde66305e4
--- a/src/mercurialserver/refreshauth.py	Sun Dec 19 09:49:18 2010 +0000
+++ b/src/mercurialserver/refreshauth.py	Tue Sep 06 11:16:58 2011 +0100
@@ -39,7 +39,7 @@
                 if not goodkey.match(keyname):
                     # Encode it for safe quoting
                     keyname = "--base64 " + base64.b64encode(keyname)
-                p = subprocess.Popen(("ssh-keygen", "-i", "-f", ffn), 
+                p = subprocess.Popen(("ssh-keygen", "-i", "-f", ffn),
                     stdout=subprocess.PIPE, stderr=subprocess.PIPE)
                 newkey = p.communicate()[0]
                 if p.wait() == 0:
@@ -57,7 +57,6 @@
     akeys.close()
     os.chmod(akeyfile + "_new", stat.S_IRUSR)
     os.rename(akeyfile + "_new", akeyfile)
-    
+
 def hook(ui, repo, hooktype, node=None, source=None, **kwargs):
     refreshAuth()
-