X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2Fnepi%2Futil%2Fenviron.py;fp=src%2Fnepi%2Futil%2Fenviron.py;h=f8ec9cd435cc6c5be74dcdca466b2f26f321e958;hb=b4af9a40867beff8660612fe20d3838cb375f159;hp=101ad1957b270f8c594771f52d1f34c66e68c22b;hpb=b3292d8429f07d0e9d21a3ec2d81dbc4b18332d1;p=nepi.git diff --git a/src/nepi/util/environ.py b/src/nepi/util/environ.py index 101ad195..f8ec9cd4 100644 --- a/src/nepi/util/environ.py +++ b/src/nepi/util/environ.py @@ -164,7 +164,7 @@ def gen_sshd_config(filename, port, server_key, auth_keys): def gen_auth_keys(pubkey, output, environ): #opts = ['from="127.0.0.1/32"'] # fails in stupid yans setup opts = [] - for k, v in list(environ.items()): + for k, v in environ.items(): opts.append('environment="%s=%s"' % (k, v)) lines = file(pubkey).readlines()