7139d63b4ddea7ea25fe33f0b9cc539e1a60352c,api/python/quilt3/api.py,,delete_package,#Any#Any#Any#,31
Before Change
registry_base_path = get_package_registry(fix_url(registry) if registry else None)
named_packages = registry_base_path.rstrip("/") + "/named_packages/"
package_path = named_packages + name + "/"
paths = list(list_url(package_path))
if not paths:
raise QuiltException("No such package exists in the given directory.")
After Change
registry_parsed = PhysicalKey.from_url(get_package_registry(fix_url(registry) if registry else None))
named_packages = registry_parsed.join("named_packages")
package_path = named_packages.join(name)
paths = list(list_url(package_path))
if not paths:
raise QuiltException("No such package exists in the given directory.")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: quiltdata/quilt
Commit Name: 7139d63b4ddea7ea25fe33f0b9cc539e1a60352c
Time: 2020-01-07
Author: dima@quiltdata.io
File Name: api/python/quilt3/api.py
Class Name:
Method Name: delete_package
Project Name: quiltdata/quilt
Commit Name: 7139d63b4ddea7ea25fe33f0b9cc539e1a60352c
Time: 2020-01-07
Author: dima@quiltdata.io
File Name: api/python/quilt3/api.py
Class Name:
Method Name: _list_package_versions
Project Name: quiltdata/quilt
Commit Name: 7139d63b4ddea7ea25fe33f0b9cc539e1a60352c
Time: 2020-01-07
Author: dima@quiltdata.io
File Name: api/python/quilt3/api.py
Class Name:
Method Name: _list_packages