Browse Source

Fix syntax error on Python 2.5

Mike Naberezny 9 years ago
parent
commit
7a3b073a23
1 changed files with 1 additions and 1 deletions
  1. 1 1
      supervisor/options.py

+ 1 - 1
supervisor/options.py

@@ -255,7 +255,7 @@ class Options:
         try:
             self.options, self.args = getopt.getopt(
                 args, "".join(self.short_options), self.long_options)
-        except getopt.error as exc:
+        except getopt.error, exc:
             self.usage(repr(exc))
 
         # Check for positional args