1 |
commit: a6f90ba17202518ab0c976a32cb216a8e719f8fa |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 15 23:55:50 2020 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 15 23:56:01 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=a6f90ba1 |
7 |
|
8 |
repoman/lib/repoman/scanner.py: Fix useless-return |
9 |
|
10 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
11 |
|
12 |
repoman/lib/repoman/scanner.py | 7 ------- |
13 |
1 file changed, 7 deletions(-) |
14 |
|
15 |
diff --git a/repoman/lib/repoman/scanner.py b/repoman/lib/repoman/scanner.py |
16 |
index f9df73d83..f9663e013 100644 |
17 |
--- a/repoman/lib/repoman/scanner.py |
18 |
+++ b/repoman/lib/repoman/scanner.py |
19 |
@@ -365,7 +365,6 @@ class Scanner: |
20 |
dynamic_data["changelog_modified"] = changelog_path in self.changed.changelogs |
21 |
|
22 |
self._scan_ebuilds(ebuildlist, dynamic_data) |
23 |
- return |
24 |
|
25 |
|
26 |
def _scan_ebuilds(self, ebuildlist, dynamic_data): |
27 |
@@ -408,7 +407,6 @@ class Scanner: |
28 |
# Final checks |
29 |
# initialize per pkg plugin final checks here |
30 |
# need to set it up for ==> self.modules_list or some other ordered list |
31 |
- xpkg_complete = False |
32 |
for mod in self.moduleconfig.final_loop: |
33 |
if mod: |
34 |
mod_class = self.moduleconfig.controller.get_class(mod) |
35 |
@@ -423,10 +421,5 @@ class Scanner: |
36 |
logging.debug("\tRunning function: %s", func) |
37 |
_continue = func(**self.set_func_kwargs(mod, dynamic_data)) |
38 |
if _continue: |
39 |
- xpkg_complete = True |
40 |
# logging.debug("\t>>> Continuing") |
41 |
break |
42 |
- |
43 |
- if xpkg_complete: |
44 |
- return |
45 |
- return |