--- a/src/mercurialserver/refreshauth.py Tue Sep 06 11:00:24 2011 +0100
+++ b/src/mercurialserver/refreshauth.py Tue Sep 06 11:02:31 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()
-