src/hg-ssh
changeset 215 584df0f2e5c7
parent 214 7374d0147875
child 217 32b431977bf9
equal deleted inserted replaced
214:7374d0147875 215:584df0f2e5c7
    75     ruleset.rules.set(user = sys.argv[1])
    75     ruleset.rules.set(user = sys.argv[1])
    76 else:
    76 else:
    77     fail("hg-ssh wrongly called, is authorized_keys corrupt? (%s)" 
    77     fail("hg-ssh wrongly called, is authorized_keys corrupt? (%s)" 
    78         % sys.argv)
    78         % sys.argv)
    79 
    79 
    80 for k,v in config.getEnv().iteritems():
    80 for k,v in config.getEnv():
    81     os.environ[k] = v
    81     os.environ[k] = v
    82 
    82 
    83 os.chdir(config.getReposPath())
    83 os.chdir(config.getReposPath())
    84 
    84 
    85 for f in config.getAccessPaths():
    85 for f in config.getAccessPaths():