Commit graph

15 commits

Author SHA1 Message Date
Laurent Bachelier
c193cae3b9 No need to support deprecated cgi module 2013-07-27 15:19:58 +02: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
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
Laurent Bachelier
1f310a3d33 Fix many CapVideo-related ConversionWarnings 2012-11-10 18:18:29 +01:00
Laurent Bachelier
9d5f808de9 radiofrance: Support franceinfo archives 2012-10-03 19:13:31 +02:00
Laurent Bachelier
b8d1a52732 Use simplejson first, and centralize import
simplejson is supposed to be faster:
http://stackoverflow.com/questions/712791/json-and-simplejson-module-differences-in-python
2012-03-16 16:27:22 +01:00
Laurent Bachelier
0e0bf2ad37 radiofrance: Fix crash when there is no author
Triggered by FIP at night.
Also force unicode when merging titles.
2012-03-14 23:54:39 +01:00
Laurent Bachelier
6b6822f6ec radiofrance: Use a better source for FIP
But sometimes it doesn't work. So, we still have the playerjs method as
a fallback.
2012-03-14 17:05:53 +01:00
Laurent Bachelier
184cabf345 radiofrance: Fix fetching FIP current, support replay
FIP now uses the same website as most Radio France radios.
As a consequence, it is able to support CapVideo.

There are a few differences between FIP and the other radios, but this
still allowed for less code, and the code should be more robust for
every radio.
2012-03-14 17:05:53 +01:00
Romain Bignon
dfb52a2624 verbose error messages in Qt applications (closes #775) 2012-02-05 17:19:36 +01:00
Laurent Bachelier
664e4cc094 Python 2.5 compatibility 2012-02-05 13:39:24 +01:00
Laurent Bachelier
70034d002d Provide the right extension for downloads 2012-02-04 11:34:41 +01:00
Laurent Bachelier
0dacfa1150 Add support for fetching past emissions URLs
Works with France Inter and France Culture
2012-02-04 02:08:56 +01:00
Laurent Bachelier
7ca156116e Support fetching the current FIP song
Sadly the weird encoding stuff is required.
2012-02-03 13:55:03 +01:00
Laurent Bachelier
3c9c2c7490 Split backend.py into backend.py and browser.py
It was becoming too large.
2012-02-03 13:55:02 +01:00