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/6] lib/portage/elog/mod_custom.py: fix multiple-imports
Date: Wed, 05 Aug 2020 23:52:14
Message-Id: 20200805235159.801568-2-bman@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH 1/6] lib/portage/elog/mod_mail.py: fix multiple-imports by Aaron Bauman
1 Signed-off-by: Aaron Bauman <bman@g.o>
2 ---
3 lib/portage/elog/mod_custom.py | 4 +++-
4 1 file changed, 3 insertions(+), 1 deletion(-)
5
6 diff --git a/lib/portage/elog/mod_custom.py b/lib/portage/elog/mod_custom.py
7 index 836bdad62..7cfafeccc 100644
8 --- a/lib/portage/elog/mod_custom.py
9 +++ b/lib/portage/elog/mod_custom.py
10 @@ -2,7 +2,9 @@
11 # Copyright 2006-2020 Gentoo Authors
12 # Distributed under the terms of the GNU General Public License v2
13
14 -import portage.elog.mod_save, portage.process, portage.exception
15 +import portage.elog.mod_save
16 +import portage.exception
17 +import portage.process
18
19 def process(mysettings, key, logentries, fulltext):
20 elogfilename = portage.elog.mod_save.process(mysettings, key, logentries, fulltext)
21 --
22 2.28.0