Skip to content

Commit 2085c57

Browse files
Use NotImplementedError Exception
1 parent 55a0e3e commit 2085c57

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

extensions/cpsection/webaccount/web_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
class WebService():
1818
def get_icon_name(self):
19-
raise "Not implemented"
19+
raise NotImplementedError
2020

2121
def config_service_cb(self, widget, event, container):
22-
raise "Not implemented"
22+
raise NotImplementedError

tests/extensions/cpsection/webaccount/web_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
class WebService():
1818
def get_icon_name(self):
19-
raise "Not implemented"
19+
raise NotImplementedError
2020

2121
def config_service_cb(self, widget, event, container):
22-
raise "Not implemented"
22+
raise NotImplementedError

0 commit comments

Comments
 (0)