Author: Brian Kearns <[email protected]>
Branch:
Changeset: r74901:ff868c93a1a5
Date: 2014-12-12 11:23 -0500
http://bitbucket.org/pypy/pypy/changeset/ff868c93a1a5/
Log: clarify _sqlite3 change
diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py
--- a/lib_pypy/_sqlite3.py
+++ b/lib_pypy/_sqlite3.py
@@ -1175,11 +1175,9 @@
try:
return self.__description
except AttributeError:
- try:
+ if self.__statement:
self.__description = self.__statement._get_description()
return self.__description
- except AttributeError:
- return None
description = property(__get_description)
def __get_lastrowid(self):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit