dabo Commit
Revision 6358
Date: 2011-01-31 05:15:34 -0800 (Mon, 31 Jan 2011)
Author: Jacekk
Trac: http://trac.dabodev.com/changeset/6358

Changed:
U   trunk/ide/ClassDesignerEditor.py

Log:
Fix r6356 commit issue with non matching regex.

Diff:
Modified: trunk/ide/ClassDesignerEditor.py
===================================================================
--- trunk/ide/ClassDesignerEditor.py    2011-01-31 00:11:02 UTC (rev 6357)
+++ trunk/ide/ClassDesignerEditor.py    2011-01-31 13:15:34 UTC (rev 6358)
@@ -576,7 +576,7 @@
                        # There is some text. First make sure that the name of 
the method wasn't changed
                        try:
                                codeMthd = 
self._methodNamePat.match(txt).groups()[0]
-                       except IndexError:
+                       except (IndexError, AttributeError):
                                codeMthd = None
                        if codeMthd and (codeMthd != mthd):
                                if objCode is not None:



_______________________________________________
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