dabo Commit
Revision 6674
Date: 2011-07-07 16:31:15 -0700 (Thu, 07 Jul 2011)
Author: Jacekk
Trac: http://trac.dabodev.com/changeset/6674
Changed:
U trunk/dabo/ui/dialogs/login.py
Log:
Change references from autosuper module to the super built-in function because
of SysemError exceptions under Python 2.7.
Diff:
Modified: trunk/dabo/ui/dialogs/login.py
===================================================================
--- trunk/dabo/ui/dialogs/login.py 2011-07-07 21:55:02 UTC (rev 6673)
+++ trunk/dabo/ui/dialogs/login.py 2011-07-07 23:31:15 UTC (rev 6674)
@@ -51,7 +51,7 @@
def addControls(self):
- self.super()
+ super(Login, self).addControls()
self.addObject(lbl, 'lblUserName')
self.addObject(txt, 'txtUserName')
@@ -109,14 +109,14 @@
def runCancel(self):
self.user, self.password = None, None
- self.super()
+ super(Login, self).runCancel()
def onEnterKey(self, evt):
self.runOK()
def runOK(self):
self.user, self.password = self.txtUserName.Value,
self.txtPassword.Value
- self.super()
+ super(Login, self).runOK()
if __name__ == '__main__':
_______________________________________________
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]