From 43a15b85b5e719b5cb4f49f9f7210fc5129a9d87 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 22 Apr 2012 14:41:03 -0700 Subject: [PATCH] dep.__init__: move writemsg import to top --- pym/portage/dep/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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:] -- 2.26.2