Vue d'autocomplétion générique dans shared.views pour factoriser les 3 autocomplétions (COF + BDS + K-Fêt) #730

Closed
mpepin wants to merge 3 commits from kerl/factor_autocompletion_views into master
Showing only changes of commit dc79de4031 - Show all commits

View file

@ -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