Commit 7d012c27 authored by Vincent Ardisson's avatar Vincent Ardisson Committed by Romain Bignon

[spirica] fix a pyflakes warning, unused variable

parent 2c4862ee
......@@ -162,7 +162,6 @@ class DetailsPage(LoggedPage, HTMLPage):
assert share_idx
curr_profile_el = self.xpath('ancestor::tr/preceding-sibling::tr[@data-ri][position() = 1]')[0]
share_el = curr_profile_el.xpath('./td[%d]' % (share_idx + 1))
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