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
applied the except and raise fixers to the master branch to close the gap with py3
[nepi.git]
/
test
/
util
/
sshfuncs.py
diff --git
a/test/util/sshfuncs.py
b/test/util/sshfuncs.py
index
539af78
..
2c9c30b
100755
(executable)
--- a/
test/util/sshfuncs.py
+++ b/
test/util/sshfuncs.py
@@
-47,7
+47,7
@@
def find_bin(name, extra_path = None):
try:
os.stat(d + "/" + name)
return d + "/" + name
- except OSError
,
e:
+ except OSError
as
e:
if e.errno != os.errno.ENOENT:
raise
return None