diff -r cc3f9cc828f7 -r 398ea04239b5 src/reportlab/graphics/widgetbase.py --- 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)