whitespace python3 cleanup
[pinmux.git] / src / pinmux_generator.py
index 6b8452590082b55fcaad1b2e2bc28102967498a0..7d2ddade75010699a302ecf58ee99eb0b0c51a7a 100644 (file)
@@ -49,7 +49,7 @@ if __name__ == '__main__':
              'version=',
              ])
     except getopt.GetoptError as err:
-        print "ERROR: %s" % str(err)
+        print ("ERROR: %s" % str(err))
         printhelp()
         sys.exit(1)
 
@@ -73,7 +73,7 @@ if __name__ == '__main__':
 
     if pinspec:
         if pinspec not in modules:
-            print "ERROR: spec type '%s' does not exist" % pinspec
+            print ("ERROR: spec type '%s' does not exist" % pinspec)
             printhelp()
             sys.exit(1)
         module = modules[pinspec]
@@ -82,7 +82,7 @@ if __name__ == '__main__':
     else:
         gentypes = {'bsv': bsvgen}
         if output_type not in gentypes:
-            print "ERROR: output type '%s' does not exist" % output_type
+            print ("ERROR: output type '%s' does not exist" % output_type)
             printhelp()
             sys.exit(0)
         gentypes[output_type](output_dir, validate)