mirror of
https://github.com/certbot/certbot.git
synced 2026-06-03 22:08:07 -04:00
Raise NotImplemented for all problematic list methods
This commit is contained in:
parent
0dc4639cbf
commit
98d261596c
1 changed files with 10 additions and 0 deletions
|
|
@ -213,6 +213,16 @@ class UnspacedList(list):
|
|||
l.extend(other)
|
||||
return l
|
||||
|
||||
def index(self, _, _j=0, _k=0):
|
||||
raise NotImplementedError("UnspacedList.index() not yet implemented")
|
||||
def pop(self, _):
|
||||
raise NotImplementedError("UnspacedList.pop() not yet implemented")
|
||||
def remove(self, _):
|
||||
raise NotImplementedError("UnspacedList.remove() not yet implemented")
|
||||
def reverse(self, _):
|
||||
raise NotImplementedError("UnspacedList.reverse() not yet implemented")
|
||||
def sort(self, _cmp=None, _key=None, _Rev=None):
|
||||
raise NotImplementedError("UnspacedList.sort() not yet implemented")
|
||||
def __setslice__(self, i, j, newslice):
|
||||
raise NotImplementedError("Slice operations on UnspacedLists not yet implemented")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue