Some manual style fixes
This commit is contained in:
parent
e0542c2e4a
commit
fbe0fb8d52
10 changed files with 18 additions and 14 deletions
|
|
@ -27,7 +27,8 @@ except ImportError:
|
|||
raise ImportError('Please install python-imaging')
|
||||
|
||||
|
||||
class CaptchaError(Exception): pass
|
||||
class CaptchaError(Exception):
|
||||
pass
|
||||
|
||||
|
||||
class Tile(object):
|
||||
|
|
|
|||
|
|
@ -74,8 +74,10 @@ class AccountHistory(BasePage):
|
|||
text = tds[1].text or u''
|
||||
text = text.replace(u'\xa0', u'')
|
||||
for child in tds[1].getchildren():
|
||||
if child.text: text += child.text
|
||||
if child.tail: text += child.tail
|
||||
if child.text:
|
||||
text += child.text
|
||||
if child.tail:
|
||||
text += child.tail
|
||||
|
||||
i += 1
|
||||
operation = Transaction(i)
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ class MasstransitHildon():
|
|||
status = event.get_status()
|
||||
if status == conic.STATUS_CONNECTED:
|
||||
self.connected = True
|
||||
if self.touch_selector_entry_filled == False:
|
||||
if not self.touch_selector_entry_filled:
|
||||
debug("connected, now fill")
|
||||
self.fill_touch_selector_entry()
|
||||
if self.refresh_in_progress:
|
||||
|
|
|
|||
|
|
@ -17,7 +17,8 @@
|
|||
# You should have received a copy of the GNU Affero General Public License
|
||||
# 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.QtGui import QApplication, QCompleter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue