Vue d'autocomplétion générique dans shared.views
pour factoriser les 3 autocomplétions (COF + BDS + K-Fêt) #730
1 changed files with 2 additions and 2 deletions
|
@ -115,8 +115,8 @@ class ICalMixin:
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def _find_event(self, ev, l):
|
def _find_event(self, ev, rem):
|
||||||
for i, elt in enumerate(l):
|
for i, elt in enumerate(rem):
|
||||||
if self._test_event_equal(ev, elt):
|
if self._test_event_equal(ev, elt):
|
||||||
return i
|
return i
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Reference in a new issue