src/reportlab/graphics/charts/textlabels.py
branchpy33
changeset 3723 99aa837b6703
parent 3721 0c93dd8ff567
child 4056 be1be82d76fa
--- a/src/reportlab/graphics/charts/textlabels.py	Sun Feb 17 12:13:56 2013 +0000
+++ b/src/reportlab/graphics/charts/textlabels.py	Tue Apr 30 14:28:14 2013 +0100
@@ -344,7 +344,7 @@
     def __init__(self):
         self.textAnchor = 'start'
         self.boxAnchor = 'w'
-        for a in list(self._attrMap.keys()):
+        for a in self._attrMap.keys():
             if not hasattr(self,a): setattr(self,a,None)
 
     def decorate(self,l,L):
@@ -355,7 +355,7 @@
     def __call__(self,l):
         from copy import deepcopy
         L = Label()
-        for a,v in list(self.__dict__.items()):
+        for a,v in self.__dict__.items():
             if v is None: v = getattr(l,a,None)
             setattr(L,a,v)
         self.decorate(l,L)