Remove not implemented erase function
This commit is contained in:
parent
f1352ada0b
commit
7b89972f5f
1 changed files with 0 additions and 8 deletions
|
@ -45,14 +45,6 @@ class Addon(object):
|
|||
self.name = name
|
||||
self.readonly = readonly
|
||||
|
||||
def erase(self):
|
||||
"""Erase this add-on.
|
||||
|
||||
Always raises NotImplementedError.
|
||||
"""
|
||||
logging.debug("Erasing add-on {0}".format(self.name))
|
||||
raise NotImplementedError("This would cause the permanent loss of the repository, including history.")
|
||||
|
||||
def update(self):
|
||||
"""Update this add-on.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue