We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d9df98 commit 830ed74Copy full SHA for 830ed74
1 file changed
bin/msgflo-python
@@ -1,4 +1,4 @@
1
-#!/usr/bin/env python2
+#!/usr/bin/env python
2
3
import sys, os, importlib
4
sys.path.append(os.path.abspath(".."))
@@ -25,7 +25,7 @@ def main():
25
prog, args = sys.argv[0], sys.argv[1:]
26
try:
27
modulepath, role = args[0:2]
28
- except ValueError, e:
+ except ValueError as e:
29
sys.stderr.write("Usage: msgflo-python MODULE.py ROLE\n")
30
return 1
31
0 commit comments