- except ValueError, e:
- print "Unable to fix '%s' " % b.params
- print "Try to fix this button manually and rerun the script."
+ except ValueError as e:
+ print("Unable to fix '%s' " % b.params)
+ print("Try to fix this button manually and rerun the script.")