--- a/src/mercurialserver/refreshauth.py Thu Nov 12 11:19:36 2009 +0000
+++ b/src/mercurialserver/refreshauth.py Fri Nov 13 12:26:08 2009 +0000
@@ -10,13 +10,13 @@
import os
import os.path
import subprocess
-from mercurialserver import paths
+from mercurialserver import config
goodkey = re.compile("[/A-Za-z0-9._-]+$")
def refreshAuth():
akeyfile = os.path.expanduser("~/.ssh/authorized_keys")
- wrappercommand = paths.getExePath() + "/hg-ssh"
+ wrappercommand = config.getExePath() + "/hg-ssh"
prefix='no-pty,no-port-forwarding,no-X11-forwarding,no-agent-forwarding,command='
if os.path.exists(akeyfile):
@@ -29,7 +29,7 @@
f.close()
akeys = open(akeyfile + "_new", "w")
- for keyroot in paths.getKeysPaths():
+ for keyroot in config.getKeysPaths():
kr = keyroot + "/"
#print "Processing keyroot", keyroot
for root, dirs, files in os.walk(keyroot):