diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-08-17 12:14:58 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-08-17 12:14:58 -0400 |
| commit | 2038837fa4c03c6da4b6d4c389fd062abc4e844c (patch) | |
| tree | 0bec9bdd402e6d2fdc814efb4fb223661dd00302 /lib/sqlalchemy/util | |
| parent | b83a1564f1f4bc8da2af2d33bfb4f524b620382b (diff) | |
| download | sqlalchemy-2038837fa4c03c6da4b6d4c389fd062abc4e844c.tar.gz | |
- spot checking of imports, obsolete functions
Diffstat (limited to 'lib/sqlalchemy/util')
| -rw-r--r-- | lib/sqlalchemy/util/_collections.py | 1 | ||||
| -rw-r--r-- | lib/sqlalchemy/util/langhelpers.py | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/sqlalchemy/util/_collections.py b/lib/sqlalchemy/util/_collections.py index 86a90828a..c3b44abae 100644 --- a/lib/sqlalchemy/util/_collections.py +++ b/lib/sqlalchemy/util/_collections.py @@ -6,7 +6,6 @@ """Collection classes and helpers.""" -import itertools import weakref import operator from .compat import threading, itertools_filterfalse diff --git a/lib/sqlalchemy/util/langhelpers.py b/lib/sqlalchemy/util/langhelpers.py index 1fd5ccf30..8cf3db1bb 100644 --- a/lib/sqlalchemy/util/langhelpers.py +++ b/lib/sqlalchemy/util/langhelpers.py @@ -166,7 +166,6 @@ class PluginLoader(object): self.impls[name] = impl.load return impl.load() - from sqlalchemy import exc raise exc.ArgumentError( "Can't load plugin: %s:%s" % (self.group, name)) @@ -219,6 +218,7 @@ def get_cls_kwargs(cls, _set=None): try: + # TODO: who doesn't have this constant? from inspect import CO_VARKEYWORDS def inspect_func_args(fn): |
