Laurent Bachelier
fbe0fb8d52
Some manual style fixes
2013-03-16 00:57:31 +01:00
Laurent Bachelier
e0542c2e4a
Fix comparisons to None
...
Diff checked manually.
autopep8 -a -ir -j2 --select=E711 .
This required the "agressive" option because it can change code
behavior.
2013-03-16 00:57:30 +01:00
Laurent Bachelier
7094931c92
Easy spacing fixes, trailing stuff
...
Remove useless trailing \
Remove trailing spaces
Add missing empty lines
autopep8 -ir -j2 --select=E301,E302,E502,W291,W293,W391 .
Diff quickly checked.
2013-03-16 00:54:55 +01:00
Laurent Bachelier
c21d1f7925
Code clarity fixes
...
autopep8 -ir -j2 --select=E303,E125
Diff checked manually.
2013-03-16 00:52:43 +01:00
Laurent Bachelier
a6fbcbaec7
Reconcile the two previous commits (json/to_dict)
...
Also fix some to_dict move things that were incomplete.
And some PEP8 fixes.
closes #1060
closes #1061
2013-03-09 15:14:17 +01:00
Julien Hebert
1b47455225
refs #1060 : move to_dict to base.py
2013-03-09 14:57:09 +01:00
Julien Hebert
8d8fe9090f
json encoder
2013-03-09 14:57:08 +01:00
Laurent Bachelier
5747a98541
Use Firefox ESR
...
This is a long-term support version (54 weeks), which is ideal for us.
2013-03-02 10:35:07 +01:00
Florent
8c66ca83c8
Remove unused imports
2013-03-02 10:31:34 +01:00
Florent
9dc9157062
Prevent useless debug folders
2013-03-01 13:41:50 +01:00
Laurent Bachelier
99f8a03895
Cache the sucessful protocols
...
And avoid doing too many failed handshakes.
2013-02-11 14:45:28 +01:00
Laurent Bachelier
085c784691
Fall back on SSLv3 if TLSv1 fails
...
This is so dirty :(
2013-02-11 14:45:27 +01:00
Laurent Bachelier
79769265cf
fix pyflakes/flake8 issue
...
date is imported as a module, avoid using it as a variable.
also PEP8 fix.
2013-02-10 20:17:27 +01:00
Romain Bignon
69e4c77257
use recent firefox user agent
2013-02-10 02:17:54 +01:00
Romain Bignon
06b314de48
little fixes
...
- logger might be a private attribute
- compare rdate to date, not to today
2013-02-10 02:17:54 +01:00
Romain Bignon
63dc4e05da
support empty dates for transactions
2013-02-08 14:46:01 +01:00
Romain Bignon
5f78a99c5b
create DateGuesser extracted from cragr
...
it also moves utc2local and local2utc functions into date.py
2013-02-08 14:17:08 +01:00
Florent
3296d57132
Remove useless TODO
2013-02-07 15:49:33 +01:00
Florent
0072b5e076
Allow infinite search with 0
2013-02-07 14:51:38 +01:00
Romain Bignon
b770163d9b
fix crash when there is no selected fields (yes, all the time, why nobody has reported it)
2013-02-07 14:21:06 +01:00
Romain Bignon
126b5be301
ability to set a ENCODING constant to BasePage which overrides the Browser's one
2013-02-05 20:22:44 +01:00
Laurent Bachelier
91f59a9cef
Add a CSV parser
2013-02-05 16:32:18 +01:00
Romain Bignon
b7b7d31771
remove unused imports
2013-01-30 11:36:47 +01:00
Romain Bignon
8550c17cf7
do not cry if an object in not support to be filled by a backend
2013-01-30 11:34:28 +01:00
Florent
bf3132e8c0
bump to 0.f
2013-01-25 17:23:49 +01:00
Laurent Bachelier
d9ceecdf8a
Add --insecure to the proper place (no group)
2013-01-25 15:48:55 +01:00
Laurent Bachelier
e407fd1dfa
Add mplayer2 support
2013-01-25 13:46:55 +01:00
Florent
b100f77f95
Try if attribut exists before to try an access
2013-01-25 10:56:21 +01:00
Romain Bignon
78a5c3767f
fix compatibility with python2.6
2013-01-16 17:50:29 +01:00
Romain Bignon
1006e9ff83
ability to give several arguments in 'player_name' config option
2013-01-14 22:29:50 +01:00
Romain Bignon
535d6efc47
more explicit error messages during common import errors
2013-01-14 21:28:47 +01:00
Florent
528cc826ce
Allow to exclude some backends
...
closes #617
2013-01-10 19:05:52 +01:00
Romain Bignon
123eb4f32b
add a parameter "convert"
2013-01-10 13:20:34 +01:00
Laurent Bachelier
8bc80db331
Add global "insecure" option to skip SSL validation
...
closes #930
2013-01-10 09:38:17 +01:00
Laurent Bachelier
4d1e6f8436
Add support for ls -d option ( closes #858 )
...
This behaves like the UNIX ls -d.
This should solve the use case of Bug #858 ; ls was never intended to
work that way before. Users can now chose between the two modes (with or
without -d).
2013-01-10 09:38:09 +01:00
Romain Bignon
a8b1c5ed5b
if both credit and debit are empty, set value to 0
2013-01-07 23:03:34 +01:00
Romain Bignon
501c3c8e11
get all strings under this element
2013-01-07 16:34:03 +01:00
Romain Bignon
218159992e
add a 'raw' parser
2013-01-05 18:44:23 +01:00
Romain Bignon
40bce697ac
add an overridable method to check pixel colors
2013-01-03 18:04:22 +01:00
Romain Bignon
db6ee276fa
ability to specify a parser to use on a page handler
2013-01-02 13:48:42 +01:00
Julien Hebert
16edbd9141
prise en charge du rtmp
2012-12-10 18:07:49 +01:00
Julien Hebert
d5ea1ffc2c
on est pas sous apple.
2012-12-10 18:07:49 +01:00
Romain Bignon
d91dad2b2b
support currencies
2012-12-06 13:21:13 +01:00
Laurent Bachelier
b3d1a17eaa
Remove double import
...
This was likely introduced by copy-pasting from another file.
See e825a7eac0 .
2012-11-24 20:30:31 +01:00
Laurent Bachelier
541d080c9d
Use flake8 if available instead of pyflakes
...
With flake8, we can check for more issues and ignore those who are not
real issues.
This allowed me to find genuine errors in:
- modules/boursorama/pages/account_history.py
- modules/ing/pages/login.py
- weboob/tools/application/qt/qt.py
I left one in weboob/tools/browser/browser.py for the time being.
Some PEP8 fixes on other files.
2012-11-24 19:46:34 +01:00
Romain Bignon
e825a7eac0
add a ssl timeout (temp fix)
2012-11-24 12:06:13 +01:00
Laurent Bachelier
3eba9a809b
Allow multiple CERTHASH values in a module
...
Also fix typos and usage of reserved hash() function.
2012-11-10 18:22:30 +01:00
Laurent Bachelier
1f310a3d33
Fix many CapVideo-related ConversionWarnings
2012-11-10 18:18:29 +01:00
Romain Bignon
47887d5560
add handler in applications
2012-11-10 13:25:07 +01:00
Florent
894784995a
Add new exception BrowserForbidden
2012-11-10 13:23:00 +01:00