Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: repoman/lib/repoman/
Date: Sun, 16 Aug 2020 00:43:33
Message-Id: 1597538535.164efc2db431e8052597c40cd17e3c38e24a7f8f.zmedico@gentoo
1 commit: 164efc2db431e8052597c40cd17e3c38e24a7f8f
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 16 00:37:17 2020 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 16 00:42:15 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=164efc2d
7
8 repoman/lib/repoman/scanner.py: Remove unneeded y_ebuild_continue var
9
10 Since commit 203bc84894d76f4e17e47b9373e84bebc217a246, this variable
11 has triggered a continue statement which no longer bypassed any
12 relevant code in the containing loop.
13
14 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
15
16 repoman/lib/repoman/scanner.py | 5 -----
17 1 file changed, 5 deletions(-)
18
19 diff --git a/repoman/lib/repoman/scanner.py b/repoman/lib/repoman/scanner.py
20 index f9663e013..2e5e5ef31 100644
21 --- a/repoman/lib/repoman/scanner.py
22 +++ b/repoman/lib/repoman/scanner.py
23 @@ -372,7 +372,6 @@ class Scanner:
24 for y_ebuild in ebuildlist:
25 self.reset_futures(dynamic_data)
26 dynamic_data['y_ebuild'] = y_ebuild
27 - y_ebuild_continue = False
28
29 # initialize per ebuild plugin checks here
30 # need to set it up for ==> self.modules_list or some other ordered list
31 @@ -395,13 +394,9 @@ class Scanner:
32 # Do not try to do any more QA checks on this package since missing
33 # metadata leads to false positives for several checks, and false
34 # positives confuse users.
35 - y_ebuild_continue = True
36 # logging.debug("\t>>> Continuing")
37 break
38
39 - if y_ebuild_continue:
40 - continue
41 -
42 logging.debug("Finished ebuild plugin loop, continuing...")
43
44 # Final checks