Signed-off-by: Paolo Bonzini <[email protected]>
---
 scripts/get-wraps-from-cargo-registry.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/scripts/get-wraps-from-cargo-registry.py 
b/scripts/get-wraps-from-cargo-registry.py
index 78b6f1f7ae2..3820d121183 100755
--- a/scripts/get-wraps-from-cargo-registry.py
+++ b/scripts/get-wraps-from-cargo-registry.py
@@ -113,9 +113,6 @@ def update_subproject(self, wrap_file: str, 
registry_namever: str) -> None:
             print(f"Installing {orig_dir} from registry.")
         else:
             print(f"Replacing {orig_dir} with {registry_namever}.")
-            patch_dir = config["wrap-file"]["patch_directory"]
-            patch_dir = os.path.join("packagefiles", patch_dir)
-            _, ver = registry_namever.rsplit("-", 1)
 
         subprocess.run(
             ["meson", "subprojects", "download", wrap_name],
-- 
2.55.0


Reply via email to