Gentoo Archives: gentoo-portage-dev

From: Aaron Bauman <bman@g.o>
To: gentoo-portage-dev@l.g.o
Cc: Aaron Bauman <bman@g.o>
Subject: [gentoo-portage-dev] [PATCH 07/18] lib/portage/dbapi/cpv_expand.py: drop unused-import
Date: Mon, 03 Aug 2020 20:21:02
Message-Id: 20200803202033.1585074-7-bman@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH 01/18] lib/_emerge/actions.py: drop unused-import by Aaron Bauman
1 * Drop unused import
2 * Update copyright
3
4 Signed-off-by: Aaron Bauman <bman@g.o>
5 ---
6 lib/portage/dbapi/cpv_expand.py | 4 +---
7 1 file changed, 1 insertion(+), 3 deletions(-)
8
9 diff --git a/lib/portage/dbapi/cpv_expand.py b/lib/portage/dbapi/cpv_expand.py
10 index a1a91f554..eeec446d4 100644
11 --- a/lib/portage/dbapi/cpv_expand.py
12 +++ b/lib/portage/dbapi/cpv_expand.py
13 @@ -1,12 +1,10 @@
14 -# Copyright 2010-2013 Gentoo Foundation
15 +# Copyright 2010-2020 Gentoo Authors
16 # Distributed under the terms of the GNU General Public License v2
17
18 __all__ = ["cpv_expand"]
19
20 import portage
21 from portage.exception import AmbiguousPackageName
22 -from portage.localization import _
23 -from portage.util import writemsg
24 from portage.versions import _pkgsplit
25
26 def cpv_expand(mycpv, mydb=None, use_cache=1, settings=None):
27 --
28 2.28.0