Fix up some code after aplanas' continued review #10
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "add_export"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
559dbcfa31
to172242891d
@ -224,3 +225,3 @@
if old_files.get(entry["name"]) != f"{entry['md5']}-{entry['size']}":
logging.debug(f"Download {entry['name']}")
to_download.append((entry["name"], entry["md5"]))
to_download.append((PurePath(entry["name"]), entry["md5"]))
Path(entry["name"])
, do not use PurePath, onlyPath
well, pathlib says Path is for a path referencing to a file while PurePath is for a concept of a path. And this is exactly what I'm calculating here - entry['name'] does not exist in $PWD, but only below the repos path.
One nit, but LGTM