summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-11-01 05:32:30 +0000
committerZac Medico <zmedico@gentoo.org>2008-11-01 05:32:30 +0000
commitb3592fdc86d9fc7b76deff4eeedf86d3ea50f9c1 (patch)
treee0b02f54b2d0e4d7bdc9aa7ffc74ca10324e89a0
parentc35441041c45aca605fe09d1d6621827431c88bb (diff)
downloadportage-b3592fdc86d9fc7b76deff4eeedf86d3ea50f9c1.tar.gz
portage-b3592fdc86d9fc7b76deff4eeedf86d3ea50f9c1.tar.bz2
portage-b3592fdc86d9fc7b76deff4eeedf86d3ea50f9c1.zip
Define __all__ and remove unused imports.
svn path=/main/trunk/; revision=11776
-rw-r--r--pym/portage/dbapi/__init__.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/pym/portage/dbapi/__init__.py b/pym/portage/dbapi/__init__.py
index af0e63320..2bdb3e7cd 100644
--- a/pym/portage/dbapi/__init__.py
+++ b/pym/portage/dbapi/__init__.py
@@ -2,15 +2,16 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
+__all__ = ["dbapi"]
+
import os
import re
-from portage.dep import Atom, dep_getslot, dep_getkey, \
- dep_getusedeps, match_from_list
+from portage.dep import match_from_list
from portage.locks import unlockfile
from portage.output import red
from portage.util import writemsg
from portage import auxdbkeys, dep_expand
-from portage.versions import catpkgsplit, catsplit, pkgcmp
+from portage.versions import catpkgsplit, pkgcmp
class dbapi(object):