Skip to content

Commit

Permalink
msgflo-python: Use python in hashbang, == py3
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnor committed Nov 17, 2017
1 parent 2d9df98 commit 830ed74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/msgflo-python
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python

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

Expand Down

0 comments on commit 830ed74

Please sign in to comment.