Some manual style fixes

This commit is contained in:
Laurent Bachelier 2013-03-15 22:31:33 +01:00
commit fbe0fb8d52
10 changed files with 18 additions and 14 deletions

View file

@ -27,7 +27,8 @@ except ImportError:
raise ImportError('Please install python-imaging') raise ImportError('Please install python-imaging')
class CaptchaError(Exception): pass class CaptchaError(Exception):
pass
class Tile(object): class Tile(object):

View file

@ -74,8 +74,10 @@ class AccountHistory(BasePage):
text = tds[1].text or u'' text = tds[1].text or u''
text = text.replace(u'\xa0', u'') text = text.replace(u'\xa0', u'')
for child in tds[1].getchildren(): for child in tds[1].getchildren():
if child.text: text += child.text if child.text:
if child.tail: text += child.tail text += child.text
if child.tail:
text += child.tail
i += 1 i += 1
operation = Transaction(i) operation = Transaction(i)

View file

@ -60,7 +60,7 @@ class MasstransitHildon():
status = event.get_status() status = event.get_status()
if status == conic.STATUS_CONNECTED: if status == conic.STATUS_CONNECTED:
self.connected = True self.connected = True
if self.touch_selector_entry_filled == False: if not self.touch_selector_entry_filled:
debug("connected, now fill") debug("connected, now fill")
self.fill_touch_selector_entry() self.fill_touch_selector_entry()
if self.refresh_in_progress: if self.refresh_in_progress:

View file

@ -17,7 +17,8 @@
# You should have received a copy of the GNU Affero General Public License # You should have received a copy of the GNU Affero General Public License
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
import os,codecs import os
import codecs
from PyQt4.QtCore import SIGNAL, Qt, QStringList from PyQt4.QtCore import SIGNAL, Qt, QStringList
from PyQt4.QtGui import QApplication, QCompleter from PyQt4.QtGui import QApplication, QCompleter