applied the except and raise fixers to the master branch to close the gap with py3
[nepi.git] / test / util / sshfuncs.py
index 539af78..2c9c30b 100755 (executable)
@@ -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