biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / ua-parser / dont-fetch-submodule.patch
blobfa0cfdeabf32b9b437a04596ec070bd2c24ef65d
1 diff --git a/setup.py b/setup.py
2 index a976eee..6919795 100644
3 --- a/setup.py
4 +++ b/setup.py
5 @@ -64,12 +64,6 @@ class build_regexes(Command):
7 def run(self):
8 work_path = self.work_path
9 - if not os.path.exists(os.path.join(work_path, ".git")):
10 - return
12 - log.info("initializing git submodules")
13 - check_output(["git", "submodule", "init"], cwd=work_path)
14 - check_output(["git", "submodule", "update"], cwd=work_path)
16 yaml_src = os.path.join(work_path, "uap-core", "regexes.yaml")
17 if not os.path.exists(yaml_src):