summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-09-19 21:41:23 +0000
committerZac Medico <zmedico@gentoo.org>2008-09-19 21:41:23 +0000
commitf6594305310080b02a39f6abf0263790ccecd42a (patch)
tree8fc59d5471dacc5e3d8a19398b503abaf6867b49
parentDocument the --debug option. Thanks to Jeremy Olexa <darkside@g.o> suggesting. (diff)
downloadportage-f6594305310080b02a39f6abf0263790ccecd42a.tar.gz
portage-f6594305310080b02a39f6abf0263790ccecd42a.tar.bz2
portage-f6594305310080b02a39f6abf0263790ccecd42a.zip
Define __all__ and clean up unused imports found by pyflakes.
svn path=/main/trunk/; revision=11519
-rw-r--r--pym/portage/dbapi/porttree.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py
index 614f6dec3..a1165907c 100644
--- a/pym/portage/dbapi/porttree.py
+++ b/pym/portage/dbapi/porttree.py
@@ -2,27 +2,27 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
+__all__ = ["portdbapi", "close_portdbapi_caches", "portagetree"]
+
from portage.cache.cache_errors import CacheError
from portage.cache.mappings import slot_dict_class
from portage.const import REPO_NAME_LOC
from portage.data import portage_gid, secpass
from portage.dbapi import dbapi
-from portage.dep import use_reduce, paren_reduce, dep_getslot, dep_getkey, \
- match_from_list, match_to_list, remove_slot
-from portage.exception import OperationNotPermitted, PortageException, \
+from portage.dep import use_reduce, paren_reduce, dep_getkey, match_from_list
+from portage.exception import PortageException, \
UntrustedSignature, SecurityViolation, InvalidSignature, MissingSignature, \
FileNotFound, InvalidDependString, InvalidPackageName
from portage.manifest import Manifest
-from portage.output import red
-from portage.util import ensure_dirs, writemsg, apply_recursive_permissions
-from portage.versions import pkgcmp, pkgsplit, catpkgsplit, best, ver_regexp
+from portage.util import ensure_dirs, writemsg
+from portage.versions import pkgsplit, catpkgsplit, best, ver_regexp
import portage.gpg, portage.checksum
-from portage import eclass_cache, auxdbkeys, auxdbkeylen, doebuild, flatten, \
+from portage import eclass_cache, auxdbkeys, doebuild, flatten, \
listdir, dep_expand, eapi_is_supported, key_expand, dep_check
-import os, re, stat, sys
+import os, stat
from itertools import izip
class portdbapi(dbapi):