You've already forked system-design-primer
mirror of
https://github.com/donnemartin/system-design-primer.git
synced 2025-06-18 21:57:44 +02:00
Change raise NotImplemented to raise NotImplementedError (#345)
This commit is contained in:
committed by
Donne Martin
parent
eaa447cc39
commit
e50f26960d
@ -66,7 +66,7 @@ class Director(Employee):
|
|||||||
super(Operator, self).__init__(employee_id, name, Rank.DIRECTOR)
|
super(Operator, self).__init__(employee_id, name, Rank.DIRECTOR)
|
||||||
|
|
||||||
def escalate_call(self):
|
def escalate_call(self):
|
||||||
raise NotImplemented('Directors must be able to handle any call')
|
raise NotImplementedError('Directors must be able to handle any call')
|
||||||
|
|
||||||
|
|
||||||
class CallState(Enum):
|
class CallState(Enum):
|
||||||
|
Reference in New Issue
Block a user