Commit graph

28 commits

Author SHA1 Message Date
Romain Bignon
6fcac89dd5 first step in python3 support 2014-05-17 14:27:55 +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
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
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
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
Romain Bignon
ce12b56ee8 remove two old and useless debug messages 2013-02-10 22:32:02 +01:00
Romain Bignon
47df1413ae use %r instead of %s to prevent encoding errors 2012-10-16 14:47:03 +02:00
Romain Bignon
76180bdda0 add backtraces in CallErrors message 2012-04-09 10:12:28 +02: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
Laurent Bachelier
9c5326c0e4 Make CapCollection a bit more useable
Collections are not stored in replapplication.objects anymore, but in
replapplication.collections. This fixes the IDs issue. There was no gain
from storing them in objects.

Completion right after cd should be faster (and should always have been
like that, it was pretty much a bug).

The display of do_ls() should be much clearer. Collections are always at
the end, have ids/title/backend like objects (but using a formatter
would be better than my current hack).

There are still many issues with the current implementation.
refs #774
closes #785
2012-02-12 15:49:08 +01:00
Romain Bignon
7e2bb91b3b change license to AGPLv3+ 2011-04-08 12:48:07 +02:00
Romain Bignon
c644aacd29 fix: use ResultsCondition in BackendsCall instead of hack in Weboob (refs #372) 2010-11-14 21:46:48 +01:00
Romain Bignon
84b4003bf4 use several loggers for parts of weboob 2010-10-30 16:09:33 +02:00
Romain Bignon
2556da6fbd better errors management in webcontentedit 2010-10-17 14:47:42 +02:00
Romain Bignon
734e73dce6 fix event lock order 2010-10-04 22:52:08 +02:00
Romain Bignon
41827c4160 show a messagebox on bcall errors instead of console print 2010-09-30 20:13:06 +02:00
Romain Bignon
6dfbda042c correctly handle BrowserUnavailable and BrowserIncorrectPassword exceptions in repl applications (closes #302)
It asks user to reconfigure backend when BrowserIncorrectPassword is
raised.
2010-09-30 11:59:12 +02:00
Christophe Benz
8afff42465 compare instance to basestring instead of (str, unicode) 2010-08-17 19:33:06 +02:00
Romain Bignon
e980e040ba capabilities objets inherit from CapBaseObject (refs #369) 2010-08-12 17:22:04 +02:00
Romain Bignon
5d33778986 don't iterate on strings 2010-07-17 13:13:44 +02:00
Romain Bignon
e1939b7e4a fix when backtrace contains some unicode chars (and because python sucks) 2010-07-13 00:10:13 +02:00
Romain Bignon
bf5072b73c fix debug notice to display repr of returned object (fix crash when result is a binary string) 2010-07-12 09:19:57 +02:00
Christophe Benz
0447ef8c64 use error repr to have class name 2010-07-10 02:28:36 +02:00
Christophe Benz
1955d1be59 move core files to weboob.core 2010-07-07 17:20:16 +02:00
Renamed from weboob/bcall.py (Browse further)