We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2540a32 commit 5db6dccCopy full SHA for 5db6dcc
src/manage/install_command.py
@@ -526,6 +526,7 @@ def _restore_site(cmd, state):
526
if not i.is_dir() and not i.is_file():
527
LOGGER.verbose("Not restoring %s because it is not a " +
528
"normal file or directory.", i)
529
+ continue
530
d = dest / i.name
531
if d.exists():
532
LOGGER.verbose("Not restoring %s because %s exists", i, d)
@@ -644,7 +645,6 @@ def _merge_existing_index(versions, index_json):
644
645
else:
646
LOGGER.debug("Merging into existing %s", index_json)
647
current = {i["url"].casefold() for i in versions}
- added = []
648
for install in existing_index["versions"]:
649
if install.get("url", "").casefold() not in current:
650
LOGGER.debug("Merging %s", install.get("url", "<unspecified>"))
0 commit comments