fix crash when there is no ID on a transaction

This commit is contained in:
Romain Bignon 2012-12-22 21:22:36 +01:00
commit 67c24a8926

View file

@ -165,7 +165,7 @@ class TransactionsPage(BasePage):
is_coming = False
continue
t = Transaction(col_label.attrib['id'])
t = Transaction(col_label.attrib.get('id', ''))
# an optional tooltip on page contain the second part of the transaction label.
tooltip = self.document.xpath('//div[@id="tooltip%s"]' % t.id)