Romain Bignon
6fcac89dd5
first step in python3 support
2014-05-17 14:27:55 +02:00
Romain Bignon
144e98bbaf
display html2text missing warning only at first call
2014-05-06 15:35:33 +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
5f78a99c5b
create DateGuesser extracted from cragr
...
it also moves utc2local and local2utc functions into date.py
2013-02-08 14:17:08 +01:00
Romain Bignon
535d6efc47
more explicit error messages during common import errors
2013-01-14 21:28:47 +01:00
Florent
e1ee2fb1e8
Do not use inline link but display links regulary
2012-11-07 20:00:00 +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
Romain Bignon
59dfe3083a
delete 'remove_html_tags' global function, and create IParser.tocleanstring and IParser.strip abstract methods.
2011-10-25 13:28:43 +02:00
Romain Bignon
c2e008bda1
to_unicode: handle new common errors
2011-08-25 22:26:28 +02:00
Romain Bignon
ba6f31dac8
move remove_html_tags function into weboob.tools.misc
2011-07-03 10:52:33 +02:00
Romain Bignon
c9ddbec134
fix for python2.5
2011-05-10 16:26:26 +02:00
Romain Bignon
dc15310118
don't crash if unit is not found
2011-05-08 11:37:48 +02:00
Romain Bignon
cb53bb6514
thanks pyflakes
2011-05-03 13:45:12 +02:00
Roger Philibert
432db07599
fix rate limiting
2011-05-03 02:52:54 +02:00
Roger Philibert
c74362edb7
Improve EHentai backend
2011-05-03 02:22:49 +02:00
Romain Bignon
7e2bb91b3b
change license to AGPLv3+
2011-04-08 12:48:07 +02:00
Romain Bignon
9e6153a16c
new function 'limit' to limit the number of iterations
2011-03-21 13:34:32 +01:00
Juke
87bf1f0d58
PEP 8
2011-02-11 14:15:38 +01:00
Christophe Benz
f1b3264a67
simplify and factorize code, remove dead code, follow conventions, use new-style classes
2010-12-09 15:39:49 +01:00
Christophe Benz
b042b4b7f6
fix unicode and exceptions
2010-12-01 19:00:03 +01:00
Christophe Benz
b517adfed1
enhance to_unicode for windows charset
2010-12-01 15:37:15 +01:00
Romain Bignon
a42f75700a
fix unicode issues
2010-12-01 15:22:47 +01:00
Romain Bignon
baac5bac46
fix warning message for python-html2text missing
2010-10-30 13:55:19 +02:00
Romain Bignon
05e1058066
add a warning when html2text is not found
2010-10-19 15:05:02 +02:00
Romain Bignon
185a6e91a2
function iternb (not used yet, but it's more usefull in tree than in stash)
2010-08-25 13:21:08 +02:00
Christophe Benz
51239167d3
use snake case for to_unicode
2010-07-14 17:14:52 +02:00
Christophe Benz
e4b789d340
enhance --select, add --no-header option
2010-07-10 03:27:41 +02:00
Romain Bignon
d0ee7cbd49
new function utc2local
2010-07-02 13:51:01 +02:00
Christophe Benz
470f2a9fe2
use real comments for licence header
2010-06-22 16:27:33 +02:00
Christophe Benz
e0eddf0299
beautify code
2010-05-11 16:55:58 +02:00
Romain Bignon
c77acdbef4
new getBacktrace() function
2010-04-30 18:09:01 +02:00
Romain Bignon
d261317303
change html2text parameters to get unicode chars and to skip internal links
2010-04-12 14:22:03 +02:00
Romain Bignon
3c4ea6f451
add a wrapper of html2text
2010-04-11 19:45:12 +02:00
Romain Bignon
7b2295cf6c
new frontend 'weboobcfg'
2010-04-06 22:53:07 +02:00
Romain Bignon
56fea28640
split module loader in ModulesLoader and BackendsConfig classes
2010-04-06 21:17:51 +02:00
Romain Bignon
97d6ad447b
convert comment time to UTC
2010-04-04 15:10:59 +02:00
Romain Bignon
c9debbc619
fix unicode issues
2010-03-23 14:19:59 +01:00