Parent Directory | Revision Log | Patch
revision 1.5 by pyrofes, Tue Sep 27 13:55:48 2005 UTC | revision 1.6 by pyrofes, Thu Oct 27 14:14:36 2005 UTC | |
---|---|---|
# | Line 334 class MySQLPwDB(simple.SimplePwDB): | Line 334 class MySQLPwDB(simple.SimplePwDB): |
334 | """ % (username, key) | """ % (username, key) |
335 | logins = db.cursor() | logins = db.cursor() |
336 | logins.execute(q_access) | logins.execute(q_access) |
337 | login = logins.fetchone()[0] | try: |
338 | login = logins.fetchone()[0] | |
339 | except TypeError: | |
340 | return None | |
341 | logins.close() | logins.close() |
342 | if login: | if login: |
343 | self.login = username | self.login = username |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |