From e50f26960dde9adce5614d8ead8be48ee47053e5 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Fri, 27 Dec 2019 02:11:57 +0100 Subject: [PATCH] Change raise NotImplemented to raise NotImplementedError (#345) --- solutions/object_oriented_design/call_center/call_center.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solutions/object_oriented_design/call_center/call_center.py b/solutions/object_oriented_design/call_center/call_center.py index a278559..1d5e7bc 100644 --- a/solutions/object_oriented_design/call_center/call_center.py +++ b/solutions/object_oriented_design/call_center/call_center.py @@ -66,7 +66,7 @@ class Director(Employee): super(Operator, self).__init__(employee_id, name, Rank.DIRECTOR) 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):