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 2/4] lib/portage/dbapi/vartree.py: fix reimported
Date: Tue, 04 Aug 2020 02:45:08
Message-Id: 20200804024458.2228759-2-bman@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH 1/4] pylintrc: turn on checks for reimported modules by Aaron Bauman
1 Signed-off-by: Aaron Bauman <bman@g.o>
2 ---
3 lib/portage/dbapi/vartree.py | 1 -
4 1 file changed, 1 deletion(-)
5
6 diff --git a/lib/portage/dbapi/vartree.py b/lib/portage/dbapi/vartree.py
7 index fcf164e82..fbf455363 100644
8 --- a/lib/portage/dbapi/vartree.py
9 +++ b/lib/portage/dbapi/vartree.py
10 @@ -1619,7 +1619,6 @@ class dblink:
11 At present this is implemented as a text backend in /var/db/pkg.
12 """
13
14 - import re
15 _normalize_needed = re.compile(r'//|^[^/]|./$|(^|/)\.\.?(/|$)')
16
17 _contents_re = re.compile(r'^(' + \
18 --
19 2.28.0