dabo Commit
Revision 6016
Date: 2010-09-12 14:38:53 -0700 (Sun, 12 Sep 2010)
Author: Ed
Trac: http://trac.dabodev.com/changeset/6016
Changed:
U trunk/ide/ClassDesigner.py
U trunk/ide/ClassDesignerComponents.py
U trunk/ide/ClassDesignerFormMixin.py
U trunk/ide/ClassDesignerMethodSheet.py
U trunk/ide/ReportDesigner.py
U trunk/ide/wizards/AppWizard/spec-FrmReportBase.py.txt
Log:
Mass-removed all trailing whitespace. No code logic changes at all.
Diff:
Modified: trunk/ide/ClassDesigner.py
===================================================================
--- trunk/ide/ClassDesigner.py 2010-09-12 21:38:13 UTC (rev 6015)
+++ trunk/ide/ClassDesigner.py 2010-09-12 21:38:53 UTC (rev 6016)
@@ -511,7 +511,7 @@
converter = DesignerClassConverter()
dct = converter.dictFromStoredText(pth)
except dabo.dException.XmlException, e:
- raise
+ raise
except StandardError, e:
if pth.strip().startswith("<?xml") or
os.path.exists(pth):
raise IOError(_("This does not appear to be a
valid class file."))
@@ -916,7 +916,7 @@
except ValueError:
dct["fullname"] = cls
newClass = dui.__dict__[cls]
-
+
# See if it's a class that requires special handling
rv["newClass"] = newClass
isGrid = rv["isGrid"] = issubclass(newClass, dui.dGrid)
@@ -1151,7 +1151,7 @@
chld = [chld]
for dct in chld:
self._valsDictLIFO.append(self._recreateValsDict)
- rv = self._recreateValsDict = {"parent": parent, "szr":
szr,
+ rv = self._recreateValsDict = {"parent": parent, "szr":
szr,
"fromSizer": fromSizer, "dct": dct}
atts = dct["attributes"]
# Convert any paths in the atts
@@ -1189,7 +1189,7 @@
else:
sizerInfoDict = sizerInfo
rv["sizerInfoDict"] = sizerInfoDict
-
+
rowColAtts = rv["rowColAtts"] = self._extractKey(atts,
"rowColPos", "(None,None)")
# Refactored these calls to make this method a little
less lengthy.
if clsname == "LayoutPanel":
Modified: trunk/ide/ClassDesignerComponents.py
===================================================================
--- trunk/ide/ClassDesignerComponents.py 2010-09-12 21:38:13 UTC (rev
6015)
+++ trunk/ide/ClassDesignerComponents.py 2010-09-12 21:38:53 UTC (rev
6016)
@@ -31,7 +31,7 @@
def __init__(self, *args, **kwargs):
super(LayoutSaverMixin, self).__init__(*args, **kwargs)
-
+
def getDesignerDict(self, itemNum=0, allProps=False,
classID=None, classDict=None, propsToExclude=None):
app = self.Controller
@@ -1558,7 +1558,7 @@
def __init__(self, *args, **kwargs):
super(LayoutSizer, self).__init__(*args, **kwargs)
-
+
def getBorderedClass(self):
"""Return the class that is the border sizer version of this
class."""
return LayoutBorderSizer
Modified: trunk/ide/ClassDesignerFormMixin.py
===================================================================
--- trunk/ide/ClassDesignerFormMixin.py 2010-09-12 21:38:13 UTC (rev 6015)
+++ trunk/ide/ClassDesignerFormMixin.py 2010-09-12 21:38:53 UTC (rev 6016)
@@ -465,11 +465,11 @@
def onSaveDesign(self, evt, useTmp=False):
currForm = self.Controller.CurrentForm
newFile = False
-
+
# Replace this with a setting of some sort
self.useJSON = False
fileExt = {True: "json", False: "cdxml"}[self.useJSON]
-
+
if useTmp:
osp = os.path
if self._classFile:
Modified: trunk/ide/ClassDesignerMethodSheet.py
===================================================================
--- trunk/ide/ClassDesignerMethodSheet.py 2010-09-12 21:38:13 UTC (rev
6015)
+++ trunk/ide/ClassDesignerMethodSheet.py 2010-09-12 21:38:53 UTC (rev
6016)
@@ -25,4 +25,3 @@
MethodList = property(_getMethodList, None, None,
_("Reference to the method list control
(dListControl)"))
-
\ No newline at end of file
Modified: trunk/ide/ReportDesigner.py
===================================================================
--- trunk/ide/ReportDesigner.py 2010-09-12 21:38:13 UTC (rev 6015)
+++ trunk/ide/ReportDesigner.py 2010-09-12 21:38:53 UTC (rev 6016)
@@ -2345,7 +2345,7 @@
def sendBackwards(self):
self._arrange("sendBackwards")
-
+
def sendUpwards(self):
self._arrange("sendUpwards")
Modified: trunk/ide/wizards/AppWizard/spec-FrmReportBase.py.txt
===================================================================
--- trunk/ide/wizards/AppWizard/spec-FrmReportBase.py.txt 2010-09-12
21:38:13 UTC (rev 6015)
+++ trunk/ide/wizards/AppWizard/spec-FrmReportBase.py.txt 2010-09-12
21:38:53 UTC (rev 6016)
@@ -25,15 +25,15 @@
def addControls(self):
hs = dabo.ui.dSizer("h")
- hs.append(dabo.ui.dButton(self, Caption="Preview",
RegID="butPreview"),
+ hs.append(dabo.ui.dButton(self, Caption="Preview",
RegID="butPreview"),
alignment="right", border=self.SizerBorder)
- hs.append(dabo.ui.dButton(self, Caption="Print",
RegID="butPrint"),
+ hs.append(dabo.ui.dButton(self, Caption="Print",
RegID="butPrint"),
alignment="right", border=self.SizerBorder)
self.Sizer.append(hs, alignment="bottom",
border=self.SizerBorder)
def onHit_butPreview(self, evt):
- self.runReport("preview")
+ self.runReport("preview")
def onHit_butPrint(self, evt):
_______________________________________________
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]