diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-08-09 16:45:45 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-08-09 16:45:45 -0400 |
commit | 0f7edd60e67d32438a8be42002faacde4e4a7649 (patch) | |
tree | 2b11b02f5bf4f9e7a6e609136bf2a19c8f166cc4 /src/lib/Bcfg2/Server/Plugins/Packages/Collection.py | |
parent | cc11ada6b8871d7719fd0ea8a2ff382bba8a3bc2 (diff) | |
download | bcfg2-0f7edd60e67d32438a8be42002faacde4e4a7649.tar.gz bcfg2-0f7edd60e67d32438a8be42002faacde4e4a7649.tar.bz2 bcfg2-0f7edd60e67d32438a8be42002faacde4e4a7649.zip |
testsuite: fixed most pylint complaints
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins/Packages/Collection.py')
-rw-r--r-- | src/lib/Bcfg2/Server/Plugins/Packages/Collection.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Packages/Collection.py b/src/lib/Bcfg2/Server/Plugins/Packages/Collection.py index 0df8624f6..8b20df58a 100644 --- a/src/lib/Bcfg2/Server/Plugins/Packages/Collection.py +++ b/src/lib/Bcfg2/Server/Plugins/Packages/Collection.py @@ -595,7 +595,6 @@ def get_collection_class(source_type): :type source_type: string :returns: type - the Collection subclass that should be used to instantiate an object to contain sources of the given type. """ - cls = None for mod in Bcfg2.Options.setup.packages_backends: if mod.__name__.endswith(".%s" % source_type.title()): return getattr(mod, "%sCollection" % source_type.title()) |