Skip to content

Commit

Permalink
Use NotImplementedError Exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Saumya-Mishra9129 committed May 28, 2020
1 parent 55a0e3e commit 2085c57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions extensions/cpsection/webaccount/web_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

class WebService():
def get_icon_name(self):
raise "Not implemented"
raise NotImplementedError

def config_service_cb(self, widget, event, container):
raise "Not implemented"
raise NotImplementedError
4 changes: 2 additions & 2 deletions tests/extensions/cpsection/webaccount/web_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

class WebService():
def get_icon_name(self):
raise "Not implemented"
raise NotImplementedError

def config_service_cb(self, widget, event, container):
raise "Not implemented"
raise NotImplementedError

0 comments on commit 2085c57

Please sign in to comment.