Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(17)

Unified Diff: src/com/ziclix/python/sql/PyConnection.java

Issue 2888: __findattr__ refactor (Closed) SVN Base: https://jython.svn.sourceforge.net/svnroot/jython/branches/asm
Patch Set: This is the actually commited patch (on r5155), in case you have more comments Created 1 year, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side by-side-diff with in-line comments
Download patch
Index: src/com/ziclix/python/sql/PyConnection.java
===================================================================
--- src/com/ziclix/python/sql/PyConnection.java (revisión: 5153)
+++ src/com/ziclix/python/sql/PyConnection.java (copia de trabajo)
@@ -178,7 +178,7 @@
* @param name the name of the attribute of interest
* @return the value for the attribute of the specified name
*/
- public PyObject __findattr__(String name) {
+ public PyObject __findattr_ex__(String name) {
if ("autocommit".equals(name)) {
try {
@@ -230,7 +230,7 @@
return Py.newBoolean(closed);
}
- return super.__findattr__(name);
+ return super.__findattr_ex__(name);
}
/**

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld r483