mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
+6
-12
@@ -36,24 +36,18 @@ class Parser(object):
|
||||
self._EXCLUDED.append(name)
|
||||
|
||||
def get_excluded_patches(self) -> List[str]:
|
||||
"""
|
||||
Getter to get all excluded patches
|
||||
:return: List of excluded patches
|
||||
"""
|
||||
"""Getter to get all excluded patches :return: List of excluded
|
||||
patches."""
|
||||
return self._EXCLUDED
|
||||
|
||||
def get_all_patches(self) -> List[str]:
|
||||
"""
|
||||
Getter to get all excluded patches
|
||||
:return: List of excluded patches
|
||||
"""
|
||||
"""Getter to get all excluded patches :return: List of excluded
|
||||
patches."""
|
||||
return self._PATCHES
|
||||
|
||||
def invert_patch(self, name: str) -> bool:
|
||||
"""
|
||||
Getter to get all excluded patches
|
||||
:return: List of excluded patches
|
||||
"""
|
||||
"""Getter to get all excluded patches :return: List of excluded
|
||||
patches."""
|
||||
try:
|
||||
patch_index = self._PATCHES.index(name)
|
||||
if self._PATCHES[patch_index - 1] == "-e":
|
||||
|
||||
Reference in New Issue
Block a user