From: Zac Medico Date: Sun, 22 Apr 2012 21:41:03 +0000 (-0700) Subject: dep.__init__: move writemsg import to top X-Git-Tag: v2.2.0_alpha101~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=43a15b85b5e719b5cb4f49f9f7210fc5129a9d87;p=portage.git dep.__init__: move writemsg import to top --- diff --git a/pym/portage/dep/__init__.py b/pym/portage/dep/__init__.py index 3832b0bde..0a7fc5764 100644 --- a/pym/portage/dep/__init__.py +++ b/pym/portage/dep/__init__.py @@ -33,7 +33,7 @@ from itertools import chain import portage portage.proxy.lazyimport.lazyimport(globals(), - 'portage.util:cmp_sort_key', + 'portage.util:cmp_sort_key,writemsg', ) from portage import _unicode_decode @@ -1882,7 +1882,6 @@ def match_from_list(mydep, candidate_list): if not candidate_list: return [] - from portage.util import writemsg if "!" == mydep[:1]: if "!" == mydep[1:2]: mydep = mydep[2:]