diff options
Diffstat (limited to 'lib/sqlalchemy/engine/util.py')
| -rw-r--r-- | lib/sqlalchemy/engine/util.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sqlalchemy/engine/util.py b/lib/sqlalchemy/engine/util.py index 6a6fe6ee1..d9eb1df10 100644 --- a/lib/sqlalchemy/engine/util.py +++ b/lib/sqlalchemy/engine/util.py @@ -7,6 +7,7 @@ from .. import util + def connection_memoize(key): """Decorator, memoize a function in a connection.info stash. @@ -61,7 +62,7 @@ def py_fallback(): return [[zero]] else: if hasattr(multiparams[0], '__iter__') and \ - not hasattr(multiparams[0], 'strip'): + not hasattr(multiparams[0], 'strip'): return multiparams else: return [multiparams] |
