dabo Commit
Revision 4850
Date: 2008-12-17 06:16:46 -0800 (Wed, 17 Dec 2008)
Author: Cito
Trac: http://trac.dabodev.com/dabo/changeset/4850

Changed:
U   trunk/ide/ClassDesignerComponents.py

Log:
Forgot one file in last commit.

Diff:
Modified: trunk/ide/ClassDesignerComponents.py
===================================================================
--- trunk/ide/ClassDesignerComponents.py        2008-12-17 14:10:02 UTC (rev 
4849)
+++ trunk/ide/ClassDesignerComponents.py        2008-12-17 14:16:46 UTC (rev 
4850)
@@ -1858,13 +1858,10 @@
        def _setSzColSpan(self, val):
                if val == self._getSzColSpan():
                        return
-               ok = True
                try:
                        self.ControllingSizer.setItemProp(self, "ColSpan", val)
                except dabo.ui.GridSizerSpanException, e:
-                       ok = False
-               if not ok:
-                       raise PropertyUpdateException, e
+                       raise PropertyUpdateException(str(e))
 
 
        def _getSzRowExpand(self):
@@ -1880,13 +1877,10 @@
        def _setSzRowSpan(self, val):
                if val == self._getSzRowSpan():
                        return
-               ok = True
                try:
                        self.ControllingSizer.setItemProp(self, "RowSpan", val)
                except dabo.ui.GridSizerSpanException, e:
-                       ok = False
-               if not ok:
-                       raise PropertyUpdateException, e
+                       raise PropertyUpdateException(str(e))
 
 
        def _getSzProp(self):




_______________________________________________
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]

Reply via email to