Skip to content

Commit 830ed74

Browse files
committed
msgflo-python: Use python in hashbang, == py3
1 parent 2d9df98 commit 830ed74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/msgflo-python

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python2
1+
#!/usr/bin/env python
22

33
import sys, os, importlib
44
sys.path.append(os.path.abspath(".."))
@@ -25,7 +25,7 @@ def main():
2525
prog, args = sys.argv[0], sys.argv[1:]
2626
try:
2727
modulepath, role = args[0:2]
28-
except ValueError, e:
28+
except ValueError as e:
2929
sys.stderr.write("Usage: msgflo-python MODULE.py ROLE\n")
3030
return 1
3131

0 commit comments

Comments
 (0)