mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-10-25 04:45:01 +00:00
drop recursive remove
This commit is contained in:
1 parent
257829d15c
commit
2a137b42f5
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user