]> git.sur5r.net Git - u-boot/blobdiff - tools/patman/patchstream.py
patman: Make print statements python 3.x safe
[u-boot] / tools / patman / patchstream.py
index 69d5cfb7a8ea8fc66572180d02334e5a8b7d8654..cd4667f61ce712399f46ae18c6d21dc470fa0b00 100644 (file)
@@ -480,12 +480,12 @@ def FixPatches(series, fnames):
         commit.patch = fname
         result = FixPatch(backup_dir, fname, series, commit)
         if result:
-            print '%d warnings for %s:' % (len(result), fname)
+            print('%d warnings for %s:' % (len(result), fname))
             for warn in result:
-                print '\t', warn
+                print('\t', warn)
             print
         count += 1
-    print 'Cleaned %d patches' % count
+    print('Cleaned %d patches' % count)
     return series
 
 def InsertCoverLetter(fname, series, count):