NotImplemented -> NotImplementedError

This commit is contained in:
Jiachen Yang 2016-04-23 14:58:31 +09:00
parent b4cfab5a62
commit 0fb2d38ea2
No known key found for this signature in database
GPG key ID: 90CB3D62C13D4796

View file

@ -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}