Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/profiles.py
diff options
context:
space:
mode:
authorDylan Taylor <dylan@dylanmtaylor.com>2021-05-15 15:11:59 -0400
committerDylan Taylor <dylan@dylanmtaylor.com>2021-05-15 15:14:38 -0400
commit55b09aa1eb4e5ec83d826b8a3dd10670d674aad7 (patch)
treea436f49849e7c45a02578596f9c30acd6e103e31 /archinstall/lib/profiles.py
parent4a34b3a9d032e62265f31444339ceba1ef0d7168 (diff)
Fix E713 test for membership should be 'not in'
Diffstat (limited to 'archinstall/lib/profiles.py')
-rw-r--r--archinstall/lib/profiles.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py
index 894b8fcb..62190cbf 100644
--- a/archinstall/lib/profiles.py
+++ b/archinstall/lib/profiles.py
@@ -154,7 +154,7 @@ class Script:
return self
def execute(self):
- if not self.namespace in sys.modules or self.spec is None:
+ if self.namespace not in sys.modules or self.spec is None:
self.load_instructions()
self.spec.loader.exec_module(sys.modules[self.namespace])