Use explicit imports, to make pyflakes happy.
authorZac Medico <zmedico@gentoo.org>
Wed, 11 Aug 2010 08:25:46 +0000 (01:25 -0700)
committerZac Medico <zmedico@gentoo.org>
Wed, 11 Aug 2010 08:25:46 +0000 (01:25 -0700)
bin/repoman
pym/repoman/checks.py

index b296d675ffb1d79d140cc0e033f0fb7ad3e6e8de..e6c281eac8cd7e75e7427125c1e6ca10b1fc7c29 100755 (executable)
@@ -72,7 +72,8 @@ from portage.output import bold, create_color_func, \
 from portage.output import ConsoleStyleFile, StyleWriter
 from portage.util import cmp_sort_key, writemsg_level
 from portage.package.ebuild.digestgen import digestgen
-from portage.eapi import *
+from portage.eapi import eapi_has_src_uri_arrows, eapi_has_slot_deps, \
+       eapi_has_use_deps, eapi_has_strong_blocks, eapi_has_iuse_defaults
 
 if sys.hexversion >= 0x3000000:
        basestring = str
index 67333419f2b6298ac6645749bba50289c58ffe16..07f1deadeda0f92ced8387050ca4b50ce2762170 100644 (file)
@@ -8,7 +8,9 @@ and correctness of an ebuild."""
 import re
 import time
 import repoman.errors as errors
-from portage.eapi import *
+from portage.eapi import eapi_supports_prefix, eapi_has_implicit_rdepend, \
+       eapi_has_src_prepare_and_src_configure, eapi_has_dosed_dohard, \
+       eapi_exports_AA, eapi_exports_KV
 
 class LineCheck(object):
        """Run a check on a line of an ebuild."""