diff martini/main.py @ 12:4faed08eb8d8

py35
author Jeff Hammel <k0scist@gmail.com>
date Mon, 20 Feb 2017 14:34:18 -0800
parents 13d85b455533
children 85bbb83703fa
line wrap: on
line diff
--- a/martini/main.py	Tue Aug 23 18:17:11 2016 -0700
+++ b/martini/main.py	Mon Feb 20 14:34:18 2017 -0800
@@ -57,7 +57,7 @@
 def set(args=None):
 
     usage = "%s file1 [file2] [...] --section1 option1=value1 option2=value2 --section2 option3=value3"
-    
+
     # process arguments
     if args is None:
         args = sys.argv[1:]
@@ -65,8 +65,8 @@
 
     # display usage information
     if not files:
-        print 'Usage:'
-        print usage % os.path.basename(sys.argv[0])
+        print ('Usage:')
+        print (usage % os.path.basename(sys.argv[0]))
         sys.exit(0)
 
     # process the files