Define __all__ and remove unused import.
authorZac Medico <zmedico@gentoo.org>
Sat, 1 Nov 2008 05:28:44 +0000 (05:28 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 1 Nov 2008 05:28:44 +0000 (05:28 -0000)
svn path=/main/trunk/; revision=11775

pym/portage/dbapi/bintree.py

index 7918e3ee3240098710f855fd12dfc4f5fcce8bfb..96a5b0afafbead1bdabc8917dcde88740ddc620f 100644 (file)
@@ -2,10 +2,12 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
+__all__ = ["bindbapi", "binarytree"]
+
 from portage.cache.mappings import slot_dict_class
 from portage.dep import isvalidatom, isjustname, dep_getkey, match_from_list
 from portage.dbapi.virtual import fakedbapi
-from portage.exception import InvalidPackageName, InvalidAtom, \
+from portage.exception import InvalidPackageName, \
        PermissionDenied, PortageException
 from portage.output import green, EOutput
 from portage.util import ensure_dirs, normalize_path, writemsg, writemsg_stdout