X-Git-Url: http://git.onelab.eu/?p=nepi.git;a=blobdiff_plain;f=test%2Futil%2Fsshfuncs.py;h=2c9c30b656633de57980907153d4e042326c2c99;hp=539af78c58889a28ba8581c3723c3aa65022394f;hb=6285ca51026efb69642eea9dfc7c480e722d84a9;hpb=cb5d027b813a27d7de263653e1a8e0cef5490f0a diff --git a/test/util/sshfuncs.py b/test/util/sshfuncs.py index 539af78c..2c9c30b6 100755 --- 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