Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /infinity/formats/bmp.py [86c9f8] .. [3662b5] Maximize Restore

  Switch to side-by-side view

--- a/infinity/formats/bmp.py
+++ b/infinity/formats/bmp.py
@@ -244,7 +244,7 @@
 
         if self.get_option ('format.bmp.print_bitmap'):
             self.print_bitmap ()
-            print
+            print()
 
 
     def read_palette (self, stream, offset):
@@ -265,7 +265,7 @@
 
     def print_palette (self):
         for i, obj in enumerate (self.palette_entry_list):
-            print "%3d: %3d %3d %3d %3d (#%02x%02x%02x%02x)" %(i, obj['r'], obj['g'], obj['b'], obj['a'], obj['r'], obj['g'], obj['b'], obj['a'])
+            print("%3d: %3d %3d %3d %3d (#%02x%02x%02x%02x)" %(i, obj['r'], obj['g'], obj['b'], obj['a'], obj['r'], obj['g'], obj['b'], obj['a']))