Commit 6dc8e996 authored by Lucas Ficheux's avatar Lucas Ficheux Committed by Vincent A

[cragr] Remove useless fill_env in ListElement

The ListElement's fill_env added in 077105e8e2f89049d301cde804062360af3c3ceb
was not implemented properly and crashes the module.

Moreover, it is useless because it is only important that the DateGuesser
object be the same between the Transactions.
parent be663cbb
......@@ -691,11 +691,6 @@ class OtherSavingsHistoryPage(LoggedPage, CragrPage):
//tr[contains(@class, "ligne-")]'''
next_page = Link('//a[@class="liennavigationcorpspage"][img[@alt="Page suivante"]]', default=None)
def fill_env(self, page, parent=None):
# This *Element's parent has only the dateguesser in its env and we want to
# use the same object, not copy it.
self.env = parent.env
class item(ItemElement):
klass = Transaction
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment