]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Get the callable import right.
authorMichael Trier <mtrier@gmail.com>
Fri, 30 Jan 2009 05:04:59 +0000 (05:04 +0000)
committerMichael Trier <mtrier@gmail.com>
Fri, 30 Jan 2009 05:04:59 +0000 (05:04 +0000)
test/testlib/compat.py

index ae27e6c3554d12759234e7ba0e6272fbf611dff4..c36681764542adf6519a132304c326b03678abe6 100644 (file)
@@ -13,7 +13,7 @@ def _function_named(fn, newname):
     return fn
 
 try:
-    import callable
+    from __builtin__ import callable
 except ImportError:
     callable = lambda x: hasattr(x, '__call__')