Commit 36d03c53 authored by Baptiste Delpey's avatar Baptiste Delpey Committed by Romain Bignon

fix pyflakes

parent 19eee587
......@@ -161,7 +161,6 @@ class DetailsPage(LoggedPage, HTMLPage):
share_idx = profile_table.get_colnum('portfolio_share')
assert share_idx
curr_profile_el = self.xpath('ancestor::tr/preceding-sibling::tr[@data-ri][position() = 1]')[0]
path = 'ancestor::tr/preceding-sibling::tr[@data-ri][position() = 1][1]/td[%d]' % (share_idx + 1)
profile_share = MyDecimal(path)(self)
......
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