src/reportlab/platypus/doctemplate.py
changeset 3326 ce725978d11c
parent 3323 8fe71f699df9
child 3368 afa025c34493
--- a/src/reportlab/platypus/doctemplate.py	Sat Feb 06 09:24:08 2010 +0000
+++ b/src/reportlab/platypus/doctemplate.py	Mon Feb 08 18:17:33 2010 +0000
@@ -452,7 +452,7 @@
         self._lifetimes = {}
 
         for k in self._initArgs.keys():
-            if not kw.has_key(k):
+            if k not in kw:
                 v = self._initArgs[k]
             else:
                 if k in self._invalidInitArgs: