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
Romain Bignon
dd15bcde74
do not stop timer because of an exception
2012-04-09 10:12:58 +02:00
Romain Bignon
76180bdda0
add backtraces in CallErrors message
2012-04-09 10:12:28 +02:00
Romain Bignon
9f86437ea1
do not check anymore if all CapBaseObject have docstrings
2012-03-26 14:41:24 +02:00
Romain Bignon
c6a141595c
change way to describe fields of CapBaseObject, and lot of documentation
2012-03-26 14:35:54 +02:00
Romain Bignon
7ecdd4e7dc
load_backend: don't catch when there is an error to load a module
2012-03-22 16:33:05 +01:00
Laurent Bachelier
30ca21c5d8
Use the right default value for XDG_DATA_DIRS
...
http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
2012-03-15 18:51:18 +01:00
Romain Bignon
8e391d0b88
bump to 0.c
2012-03-14 22:09:24 +01:00
Laurent Bachelier
006e97a8be
PEP8 style fixes and other small style fixes
...
I used autopep8 on some files and did carefully check the changes.
I ignored E501,E302,E231,E225,E222,E221,E241,E203 in my search, and at
least E501 on any autopep8 run.
Other style fixes not related to PEP8:
* Only use new-style classes. I don't think the usage of old-style
classes was voluntary. Old-style classes are removed in Python 3.
* Convert an if/else to a one-liner in mediawiki, change docstring style
change to a comment something that wasn't really appropriate for a
docstring.
* Unneeded first if condition in meteofrance
2012-03-14 04:51:46 +01:00
Laurent Bachelier
1a5ece25df
Collections are now base objects
...
So no need for this check anymore.
refs #774 and reverts a change of 9c5326c0
2012-03-13 22:08:45 +01:00
Romain Bignon
a51219a192
add_backend: do not crash if params is None
2012-03-03 23:19:58 +01:00
Olivier Schwander
825dc0b5b1
Fix path building for config dir and data dir
...
The paths are now correctly built in the case where $XDG_DATA_HOME and
$XDG_CONFIG_HOME are not empty: the "weboob/" suffix was in the fallback
argument of the os.get.environ.
Signed-off-by: Olivier Schwander <olivier.schwander@ens-lyon.org>
Signed-off-by: Romain Bignon <romain@symlink.me>
2012-02-17 13:21:19 +01:00
Romain Bignon
a93daefb4a
improve messages
2012-02-16 00:01:19 +01:00
Romain Bignon
64c0698266
do not store 'None' in repository's config
2012-02-15 23:43:08 +01:00