dabo Commit
Revision 6718
Date: 2011-07-11 13:50:05 -0700 (Mon, 11 Jul 2011)
Author: Jacekk
Trac: http://trac.dabodev.com/changeset/6718

Changed:
U   trunk/ide/ClassDesigner.py

Log:
Changed confusing variable name. 

Diff:
Modified: trunk/ide/ClassDesigner.py
===================================================================
--- trunk/ide/ClassDesigner.py  2011-07-10 17:34:02 UTC (rev 6717)
+++ trunk/ide/ClassDesigner.py  2011-07-11 20:50:05 UTC (rev 6718)
@@ -545,13 +545,13 @@
                                raise IOError(_("The class file '%s' was not 
found.") % pth)
 
                # Traverse the dct, looking for superclass information
-               super = converter.flattenClassDict(dct)
-               if super:
+               sc = converter.flattenClassDict(dct)
+               if sc:
                        # We need to modify the info to incorporate the 
superclass info
-                       converter.addInheritedInfo(dct, super, updateCode=True)
+                       converter.addInheritedInfo(dct, sc, updateCode=True)
                        # Store the base code so that we can determine if 
instances have
                        # modified it.
-                       self._updateClassCodeRepository(super)
+                       self._updateClassCodeRepository(sc)
                return dct
 
 
@@ -785,10 +785,10 @@
 
 
        def inherit(self, dct):
-               super = self._superClassInfo
-               if super:
+               sc = self._superClassInfo
+               if sc:
                        # We need to modify the info to incorporate the 
superclass info
-                       DesignerClassConverter.addInheritedInfo(dct, super)
+                       DesignerClassConverter.addInheritedInfo(dct, sc)
                return dct
 
 



_______________________________________________
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