Raise NotImplementedError instead of NotImplemented

Change-Id: Ia6bae64fb5618208b35a652194159c365f6c46a9
This commit is contained in:
Christian Berendt 2014-07-04 13:13:27 +02:00
parent 7e5e0fa455
commit d2f4b9ceca
1 changed files with 3 additions and 3 deletions

View File

@ -72,9 +72,9 @@ class QuotaUsage(dict):
return self.usages[key]
def __setitem__(self, key, value):
raise NotImplemented("Directly setting QuotaUsage values is not "
"supported. Please use the add_quota and "
"tally methods.")
raise NotImplementedError("Directly setting QuotaUsage values is not "
"supported. Please use the add_quota and "
"tally methods.")
def __repr__(self):
return repr(dict(self.usages))