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 3/6] lib/portage/tests/runTests.py: fix multiple-imports
Date: Wed, 05 Aug 2020 23:52:20
Message-Id: 20200805235159.801568-3-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/tests/runTests.py | 7 ++++---
4 1 file changed, 4 insertions(+), 3 deletions(-)
5
6 diff --git a/lib/portage/tests/runTests.py b/lib/portage/tests/runTests.py
7 index d4d1f7c76..9514abebe 100755
8 --- a/lib/portage/tests/runTests.py
9 +++ b/lib/portage/tests/runTests.py
10 @@ -1,14 +1,15 @@
11 #!/usr/bin/python -bWd
12 # runTests.py -- Portage Unit Test Functionality
13 -# Copyright 2006-2014 Gentoo Foundation
14 +# Copyright 2006-2020 Gentoo Authors
15 # Distributed under the terms of the GNU General Public License v2
16
17 -import os, sys
18 -import os.path as osp
19 import grp
20 +import os
21 +import os.path as osp
22 import platform
23 import pwd
24 import signal
25 +import sys
26
27 def debug_signal(signum, frame):
28 import pdb
29 --
30 2.28.0