mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
hide removed, not added packages with --newer
This commit is contained in:
parent
35f28056b6
commit
6c527a8a7a
1 changed files with 2 additions and 2 deletions
|
@ -129,12 +129,12 @@ def cmp() -> None:
|
|||
differences.append(diff)
|
||||
|
||||
elif oldver is None:
|
||||
if args.newer:
|
||||
continue # don't store this diff
|
||||
diff['delta'] = 'added'
|
||||
differences.append(diff)
|
||||
|
||||
elif newver is None:
|
||||
if args.newer:
|
||||
continue # don't store this diff
|
||||
diff['delta'] = 'gone'
|
||||
differences.append(diff)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue