dabo Commit
Revision 3760
Date: 2007-11-24 09:19:56 -0800 (Sat, 24 Nov 2007)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/3760

Changed:
U   trunk/ide/ClassDesignerComponents.py
U   trunk/ide/ClassDesignerFormMixin.py

Log:
Removed references to the 'padl()' function.


Diff:
Modified: trunk/ide/ClassDesignerComponents.py
===================================================================
--- trunk/ide/ClassDesignerComponents.py        2007-11-24 17:19:02 UTC (rev 
3759)
+++ trunk/ide/ClassDesignerComponents.py        2007-11-24 17:19:56 UTC (rev 
3760)
@@ -4,7 +4,6 @@
 dabo.ui.loadUI("wx")
 from dabo.dLocalize import _
 import dabo.dEvents as dEvents
-from dabo.lib.utils import padl
 import dabo.ui.dialogs as dlgs
 from ClassDesignerExceptions import PropertyUpdateException
 from dabo.lib.xmltodict import xmltodict
@@ -305,7 +304,7 @@
                list. This enables us to maintain object order within
                a dictionary, which is otherwise unordered.
                """
-               return "d%s%s" % (padl(numItems, 3, "0"), nm)
+               return "d%s%s" % (strl(numItems).zfill(3), nm)
 
 
        def getChildrenPropDict(self, clsChildren=None):

Modified: trunk/ide/ClassDesignerFormMixin.py
===================================================================
--- trunk/ide/ClassDesignerFormMixin.py 2007-11-24 17:19:02 UTC (rev 3759)
+++ trunk/ide/ClassDesignerFormMixin.py 2007-11-24 17:19:56 UTC (rev 3760)
@@ -6,7 +6,6 @@
 import new
 import dabo
 from dabo.dLocalize import _
-from dabo.lib.utils import padl
 import dabo.dEvents as dEvents
 import ClassDesignerPropSheet  
 import dabo.dConstants as kons




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]

Reply via email to