src/reportlab/lib/fontfinder.py
branchpy33
changeset 3723 99aa837b6703
parent 3721 0c93dd8ff567
child 3884 3bc59a4c3c21
--- a/src/reportlab/lib/fontfinder.py	Sun Feb 17 12:13:56 2013 +0000
+++ b/src/reportlab/lib/fontfinder.py	Tue Apr 30 14:28:14 2013 +0100
@@ -105,7 +105,7 @@
     def getTag(self):
         "Return an XML tag representation"
         attrs = []
-        for (k, v) in list(self.__dict__.items()):
+        for k, v in self.__dict__.items():
             if k not in ['timeModified']:
                 if v:
                     attrs.append('%s=%s' % (k, quoteattr(str(v))))
@@ -178,7 +178,7 @@
         selected = []
         for font in self._fonts:
             OK = True
-            for (k, v) in list(kwds.items()):
+            for k, v in kwds.items():
                 if getattr(font, k, None) != v:
                     OK = False
             if OK: