src/reportlab/lib/attrmap.py
changeset 3326 ce725978d11c
parent 3268 1ef4fac7831d
child 3617 ae5744e97c42
--- a/src/reportlab/lib/attrmap.py	Sat Feb 06 09:24:08 2010 +0000
+++ b/src/reportlab/lib/attrmap.py	Mon Feb 08 18:17:33 2010 +0000
@@ -41,7 +41,7 @@
         self.kw = kw
 
     def __call__(self):
-        return apply(self.func,self.args,self.kw)
+        return self.func(*self.args,**self.kw)
 
 class AttrMapValue:
     '''Simple multi-value holder for attribute maps'''