drop recursive remove

This commit is contained in:
2026-02-13 21:40:47 +02:00
parent 257829d15c
commit 2a137b42f5

View File

@@ -97,7 +97,7 @@ class Repo(LazyLogging):
filename(Path): package filename to remove
"""
# remove package and signature (if any) from filesystem
for full_path in self.root.glob(f"**/{filename.name}*"):
for full_path in self.root.glob(f"{filename.name}*"):
full_path.unlink()
# remove package from registry