Commit graph

187 commits

Author SHA1 Message Date
Romain Bignon
62b8ca70c6 sorry Olf, I've in fact broken weboob-repos 2014-05-17 15:07:56 +02:00
Romain Bignon
6fcac89dd5 first step in python3 support 2014-05-17 14:27:55 +02:00
Romain Bignon
d07f661cb0 import pkg_resources only when needed, to prevent a hard useless dependency 2014-05-06 15:14:28 +02:00
Romain Bignon
711cba9c65 fix compatibility with python2.6 (don't use ThreadPool anymore) 2014-05-01 18:35:11 +02:00
Romain Bignon
07f5500cce rewrite BackendCalls with ThreadPool and queues 2014-05-01 17:04:27 +02:00
Laurent Bachelier
a7e278a20d Add support for BASEURL instead of PROTOCOL+DOMAIN 2014-03-22 12:43:53 +01:00
Florent
a82f57512c bump to 0.i 2014-01-08 23:40:16 +01:00
Romain Bignon
e2476bfb0e WebNip tries to find path to package weboob_modules 2013-08-18 20:21:57 +02:00
Romain Bignon
badab27702 add class WebNip 2013-08-18 16:30:23 +02:00
Florent
9a0f9d0fc9 Remove condition from core 2013-08-06 19:05:21 +02:00
Florent
6b0930ffc5 Move condition from BCall to Repl 2013-08-06 18:45:03 +02:00
Laurent Bachelier
23a71d847b Code style fixes, mostly whitespace 2013-08-04 20:00:19 +02:00
Florent
9b022b2ebe bump to 0.h 2013-08-03 14:31:13 +02:00
Laurent Bachelier
ca04fb80ca Do not crash when repository is invalid
closes #1281
2013-08-03 13:05:14 +02:00
Romain Bignon
46d9acd37e display a message when more results are available (closes #1038) 2013-07-27 23:40:24 +02:00
Laurent Bachelier
a6ad7e83ff Use newer form of catching exceptions
autopep8 -i --select=W602
Also some other minor deprecated syntax changes, like "while 1".
I did not commit the less obvious changes.
2013-07-27 15:16:16 +02:00
Romain Bignon
c0740e695d remove useless import of with_statement (we do not support anymore python2.5)
refs #806
2013-07-27 14:38:18 +02:00
Romain Bignon
fdcc4ec4b9 change '_backend' setting to '_module' (closes #789) 2013-07-27 13:47:04 +02:00
Laurent Bachelier
59a7a0d842 Explicit module load errors 2013-07-19 19:25:38 +02:00
Gabriel Kerneis
6bb6d1e42b Fix english sentence 2013-05-28 11:19:04 +02:00
Laurent Bachelier
46462995b9 Do not make dir if it exists 2013-04-17 09:10:39 +02:00
Laurent Bachelier
359c4ec879 Create containing directory
This might happen when WEBOOB_BACKENDS is outside of the WEBOOB_WORKDIR.
2013-04-05 18:50:43 +02: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
Florent
fc3eefff09 Check if repositories are ok at the application runtime
Closes #1072
2013-03-22 18:01:32 +01:00
Florent
c6816e7444 Other comments 2013-03-20 14:50:09 +01:00
Florent
e56737a0cd Fix comment 2013-03-20 14:10:40 +01:00
Laurent Bachelier
fbe0fb8d52 Some manual style fixes 2013-03-16 00:57:31 +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
5b12a3c17e Force updating modules after upgrade
fixes #1066

Also, some small PEP8 fixes.
2013-03-09 15:14:46 +01:00
Romain Bignon
ce12b56ee8 remove two old and useless debug messages 2013-02-10 22:32:02 +01:00
Florent
bf3132e8c0 bump to 0.f 2013-01-25 17:23:49 +01:00
Romain Bignon
32e965d338 weboob-config add: fix double message "Unable to load module" 2013-01-14 21:22:03 +01:00
Florent
528cc826ce Allow to exclude some backends
closes #617
2013-01-10 19:05:52 +01:00
Romain Bignon
24cbeb47e5 major language fix (courtesy of Pascal Jakobs) 2012-11-10 14:37:45 +01:00
Romain Bignon
4a1e4b5afa bump to 0.e 2012-10-28 20:39:49 +01:00
Laurent Bachelier
3a66728392 Fix crashes with unicode characters in maintainer name
Change every mention of MAINTAINER to avoid future issues.
2012-10-24 13:29:30 +02:00
Romain Bignon
47df1413ae use %r instead of %s to prevent encoding errors 2012-10-16 14:47:03 +02:00
Romain Bignon
f16f1ddb87 fix exception 2012-05-15 09:36:07 +02:00
Romain Bignon
ba1879d501 use imp instead of __import__ 2012-05-07 14:03:21 +02:00
Romain Bignon
aa0084a37d use module imp instead of __import__ 2012-05-07 13:59:27 +02:00
Romain Bignon
2f8072e89e bump to 0.d 2012-05-04 21:17:46 +02:00
Florent
40de9b2d00 Fix indentation 2012-04-26 12:14:47 +02:00
Romain Bignon
b4154b5843 move part of update() to update_repositories() 2012-04-25 12:40:33 +02:00
Laurent Bachelier
c92ec6768b Fix keyring updates with latest openurl() change
You now have to call read() before doing another openurl().
As a bonus, the code is slightly shorter.
2012-04-15 20:31:56 +02:00
Romain Bignon
7cf5cb565c raise an error if module is not found 2012-04-11 19:29:33 +02:00
Laurent Bachelier
db6a912db5 repositories: Some systems only have gpgv2
fixes #837
2012-04-10 07:26:22 +02:00
Romain Bignon
9ef76bb8a7 fix unused imports/variables 2012-04-09 11:24:15 +02:00
Romain Bignon
87a58baa50 correctly check debug level to print exception when a module can't be loaded 2012-04-09 11:22:55 +02:00