Commits

Marc 'BlackJack' Rintsch  committed 34fe18c Draft

Updated syntax of exceptions.

  • Participants
  • Parent commits a6eafce

Comments (0)

Files changed (1)

             overhead = options.overhead
             fps = options.fps
 
-        except ValueError, error:
+        except ValueError as error:
             parser.print_usage()
             print error
             sys.exit()
         print '\n'.join([fmt % values for values in map(func, sizes)
                          if values[1] > 0])
     
-    except OSError, error:
+    except OSError as error:
         parser.print_usage()
         print error