dabo Commit
Revision 7066
Date: 2012-01-30 18:25:52 -0800 (Mon, 30 Jan 2012)
Author: Ed
Trac: http://trac.dabodev.com/changeset/7066
Changed:
U trunk/dabo/lib/DesignerClassConverter.py
Log:
Changed the indentCode() method to a staticmethod.
Diff:
Modified: trunk/dabo/lib/DesignerClassConverter.py
===================================================================
--- trunk/dabo/lib/DesignerClassConverter.py 2012-01-31 02:24:02 UTC (rev
7065)
+++ trunk/dabo/lib/DesignerClassConverter.py 2012-01-31 02:25:52 UTC (rev
7066)
@@ -786,7 +786,8 @@
- def indentCode(self, cd, level):
+ @staticmethod
+ def indentCode(cd, level):
"""Takes code and indents it to the desired level"""
lns = cd.splitlines()
indent = "\t" * level
_______________________________________________
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/[email protected]