src/reportlab/lib/codecharts.py
branchpy33
changeset 3721 0c93dd8ff567
parent 3617 ae5744e97c42
child 3794 398ea04239b5
--- a/src/reportlab/lib/codecharts.py	Fri Feb 15 15:54:16 2013 +0000
+++ b/src/reportlab/lib/codecharts.py	Tue Apr 30 14:20:22 2013 +0100
@@ -150,7 +150,7 @@
 
     def draw(self):
         self.drawLabels()
-        charList = [None] * 32 + map(chr, range(32, 256))
+        charList = [None] * 32 + list(map(chr, list(range(32, 256))))
 
         #we need to convert these to Unicode, since ReportLab
         #2.0 can only draw in Unicode.
@@ -357,7 +357,7 @@
 ##    #Big5CodeChart(0xA1, 'MSungStd-Light-Acro','ETenms-B5-H').drawOn(c, 72, 500)
 
     c.save()
-    print 'saved codecharts.pdf'
+    print('saved codecharts.pdf')
 
 if __name__=='__main__':
     test()