git://git.onelab.eu
/
nepi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
a few more calls to list() for py3
[nepi.git]
/
test
/
util
/
sshfuncs.py
diff --git
a/test/util/sshfuncs.py
b/test/util/sshfuncs.py
index
68a0e94
..
ba738b1
100755
(executable)
--- a/
test/util/sshfuncs.py
+++ b/
test/util/sshfuncs.py
@@
-100,7
+100,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 = []
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))
with open(pubkey) as f:
opts.append('environment="%s=%s"' % (k, v))
with open(pubkey) as f: