fix pyflakes issues

This commit is contained in:
Romain Bignon 2014-12-07 16:27:27 +01:00
commit a8455d4376
2 changed files with 1 additions and 2 deletions

View file

@ -127,7 +127,6 @@ class HousingPage2(JsonPage):
for img in Dict('characteristics/images')(self):
m = re.search('http://thbr\.figarocms\.net.*(http://.*)', img)
if m:
print m.group(0)
photos.append(HousingPhoto(m.group(1)))
return photos

View file

@ -302,7 +302,7 @@ class TableElement(ListElement):
self._cols[name] = colnum
try:
colnum += int(el.attrib.get('colspan', 1))
except (ValueError, AttributeError) as e:
except (ValueError, AttributeError):
colnum += 1
def get_colnum(self, name):