dabo Commit
Revision 3770
Date: 2007-12-05 02:17:35 -0800 (Wed, 05 Dec 2007)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/3770
Changed:
U trunk/ide/ClassDesignerComponents.py
Log:
Reverted the recent change of the .startswith() method of strings that is only
available in Python 2.5 or later.
Diff:
Modified: trunk/ide/ClassDesignerComponents.py
===================================================================
--- trunk/ide/ClassDesignerComponents.py 2007-12-05 00:17:02 UTC (rev
3769)
+++ trunk/ide/ClassDesignerComponents.py 2007-12-05 10:17:35 UTC (rev
3770)
@@ -161,8 +161,8 @@
# accidentally contain a legal path but which do not
represent paths.
if not prop in ("Alignment", "Caption", "DataField",
"DataSource",
"FontFace", "HAlign", "Name", "RegID",
"SelectionMode",
- "ToolTipText", "VAlign", "Value") and (
- not prop.startswith(("Border",
"Header", "Sizer_"))):
+ "ToolTipText", "VAlign", "Value") and
(not prop.startswith("Border")
+ and not prop.startswith("Header") and
not prop.startswith("Sizer_")):
if isinstance(val, basestring) and
os.path.exists(val):
# It's a path; convert it to a relative
path
if isinstance(self, (dabo.ui.dForm,
dabo.ui.dDialog)):
_______________________________________________
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]