mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
Revert "nvtake: clean up old records from oldver file on saving"
This reverts commit eaac776a90
.
Failed ones shouldn't be removed. Need a way to indicate failures.
This commit is contained in:
parent
07c3704641
commit
28c3c7076b
1 changed files with 0 additions and 3 deletions
|
@ -41,9 +41,6 @@ def take() -> None:
|
||||||
oldvers = core.read_verfile(oldverf)
|
oldvers = core.read_verfile(oldverf)
|
||||||
newvers = core.read_verfile(newverf)
|
newvers = core.read_verfile(newverf)
|
||||||
|
|
||||||
for removed in set(oldvers) - set(newvers):
|
|
||||||
del oldvers[removed]
|
|
||||||
|
|
||||||
if args.all:
|
if args.all:
|
||||||
oldvers.update(newvers)
|
oldvers.update(newvers)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Reference in a new issue