🐛 Fix incorrect exclude sign

This commit is contained in:
Nikhil Badyal
2022-10-14 20:19:37 +05:30
parent c562839b9e
commit 9b91ca70bd
+1 -1
View File
@@ -54,7 +54,7 @@ class Parser(object):
:return: List of excluded patches :return: List of excluded patches
""" """
patch_index = self._PATCHES.index(name) patch_index = self._PATCHES.index(name)
if self._PATCHES[patch_index - 1] == "e": if self._PATCHES[patch_index - 1] == "-e":
self._PATCHES[patch_index - 1] = "-i" self._PATCHES[patch_index - 1] = "-i"
else: else:
self._PATCHES[patch_index - 1] = "-e" self._PATCHES[patch_index - 1] = "-e"