mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
NotImplemented -> NotImplementedError
This commit is contained in:
parent
b4cfab5a62
commit
0fb2d38ea2
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ try:
|
|||
vercmp = cmp_to_key(pyalpm.vercmp)
|
||||
except ImportError:
|
||||
def vercmp(k):
|
||||
raise NotImplemented("Using vercmp but pyalpm can not be imported!")
|
||||
raise NotImplementedError("Using vercmp but pyalpm can not be imported!")
|
||||
|
||||
sort_version_keys = {"parse_version": parse_version, "vercmp": vercmp}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue