Laurent Bachelier
|
4b38dcbbed
|
Fix doctests for pyflakes
I'm pretty sure those doctests will not work if ran, but they serve
as useful documentation.
|
2013-07-21 00:40:49 +02:00 |
|
Laurent Bachelier
|
c8b013be53
|
Better handling of "tiny" choices, allow forcing
|
2013-07-19 19:25:38 +02:00 |
|
Florent Fourcot
|
34bb4d52a1
|
Add a new caps parameter to get_object
|
2013-07-16 23:00:41 +02:00 |
|
Laurent Bachelier
|
5f9641e201
|
Fix doctest syntax
This also had the power to crash newer pyflakes releases.
|
2013-07-04 00:14:44 +02:00 |
|
Florent
|
74f15059e9
|
Fix Pillow import in core
|
2013-06-06 13:49:39 +02:00 |
|
Romain Bignon
|
6f95fdd800
|
do not crash if date in label regexp isn't valid
|
2013-05-20 20:59:14 +02:00 |
|
Laurent Bachelier
|
a0abba9810
|
Allow overriding delay and tries in decorated function arguments
|
2013-05-14 10:39:03 +02:00 |
|
Laurent Bachelier
|
512ac5ceaa
|
Allow value if equals to default
|
2013-05-06 00:15:30 +02:00 |
|
Romain Bignon
|
9731ae1b91
|
weboob-config edit: fix error if there are private attributes on backend
(for example _enabled or _proxy)
|
2013-04-10 17:40:23 +02:00 |
|
Laurent Bachelier
|
5621107ee2
|
Fix alignment to 4 spaces
|
2013-04-03 19:04:56 +02:00 |
|
Romain Bignon
|
09b0ae72d4
|
implicitly convert unicode objects to str for form values
|
2013-04-01 17:24:20 +02:00 |
|
Romain Bignon
|
0335020963
|
all string values are unicode
|
2013-04-01 17:01:29 +02:00 |
|
Romain Bignon
|
59dea09c8a
|
fix problem with strftime on date.year<1900
|
2013-03-30 12:30:33 +01:00 |
|
Laurent Bachelier
|
edf72dfb33
|
Do not try to fill None
Use case: videoob play on an unknown URL.
The get_object(... , ['url']) would throw a FieldNotFound, when the
right error should be video not found.
|
2013-03-30 01:04:37 +01:00 |
|
Florent
|
9484099a1d
|
bump to 0.g
|
2013-03-26 18:31:12 +01:00 |
|
Romain Bignon
|
0a603ff42a
|
qt: display a dialog to ask user to update repositories at run if error
|
2013-03-26 09:53:17 +01:00 |
|
Laurent Bachelier
|
be3e19a203
|
try/except import are now handled by flake8 2.0+ / pyflakes 0.6+
|
2013-03-19 19:10:20 +01:00 |
|
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 |
|