src/reportlab/lib/attrmap.py
branchpy33
changeset 3794 398ea04239b5
parent 3791 fb8d3d2f8704
child 4252 fe660f227cac
--- a/src/reportlab/lib/attrmap.py	Tue Nov 19 12:21:04 2013 +0000
+++ b/src/reportlab/lib/attrmap.py	Tue Nov 19 13:50:34 2013 +0000
@@ -131,7 +131,7 @@
 def _findObjectAndAttr(src, P):
     '''Locate the object src.P for P a string, return parent and name of attribute
     '''
-    P = string.split(P, '.')
+    P = P.split('.')
     if len(P) == 0:
         return None, None
     else: