Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/plugins.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-11-05 15:48:03 +0000
committerGitHub <noreply@github.com>2021-11-05 15:48:03 +0000
commit0071a069080732047e11309134869f3ab40c642c (patch)
tree9ae4cde24f02046ccdc93a988c09273619cd545c /archinstall/lib/plugins.py
parent3993917462219de75cd00aefdd4fe318402a22af (diff)
parentb6ab6786316c5e4d8101007c4e96e64585aa7234 (diff)
Merged PR #650 - flake8 fixes and tightening
Tighten up flake8 tests used by GitHub Action lint_python
Diffstat (limited to 'archinstall/lib/plugins.py')
-rw-r--r--archinstall/lib/plugins.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/plugins.py b/archinstall/lib/plugins.py
index dab5d2b0..027b58d5 100644
--- a/archinstall/lib/plugins.py
+++ b/archinstall/lib/plugins.py
@@ -65,7 +65,7 @@ def import_via_path(path :str, namespace=None): # -> module (not sure how to wri
def find_nth(haystack, needle, n):
start = haystack.find(needle)
while start >= 0 and n > 1:
- start = haystack.find(needle, start+len(needle))
+ start = haystack.find(needle, start + len(needle))
n -= 1
return start