src/reportlab/graphics/widgetbase.py
branchpy33
changeset 3794 398ea04239b5
parent 3723 99aa837b6703
child 3975 4a3599863c11
--- a/src/reportlab/graphics/widgetbase.py	Tue Nov 19 12:21:04 2013 +0000
+++ b/src/reportlab/graphics/widgetbase.py	Tue Nov 19 13:50:34 2013 +0000
@@ -4,8 +4,6 @@
 __version__=''' $Id$ '''
 __doc__='''Base class for user-defined graphical widgets'''
 
-import string
-
 from reportlab.graphics import shapes
 from reportlab import rl_config
 from reportlab.lib import colors
@@ -99,7 +97,7 @@
 
         childPropDicts = {}
         for name, value in propDict.items():
-            parts = string.split(name, '.', 1)
+            parts = name.split('.', 1)
             if len(parts) == 1:
                 #simple attribute, set it now
                 setattr(self, name, value)