Commit graph

65 commits

Author SHA1 Message Date
Florent
a82f57512c bump to 0.i 2014-01-08 23:40:16 +01:00
Pierre Mazière
e7805cec12 rename AudioStreamInfo into StreamInfo
Allowing future use with upcoming VideoStream

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-05 22:46:05 +01:00
Romain Bignon
9fdc1b4d56 FrenchTransaction.parse_date isn't a class method anymore
This is because we call self._logger to log errors
2013-12-04 22:40:01 +01:00
Romain Bignon
1a581a1543 change FrenchTransaction.parse_date to be a class method 2013-11-29 15:14:57 +01:00
Florent
98a4d0547a Make a real link in signature 2013-10-30 15:02:40 +01:00
Laurent Bachelier
bfe3ac6bcd Remove comments on deleted code
They were still there because the code was automatically removed.
2013-08-03 22:15:30 +02:00
Florent
9b022b2ebe bump to 0.h 2013-08-03 14:31:13 +02:00
Romain Bignon
6a1ac6d6b6 FrenchTransaction.parse takes a new optional argument 'vdate' 2013-08-01 16:52:16 +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
6f95fdd800 do not crash if date in label regexp isn't valid 2013-05-20 20:59:14 +02:00
Florent
9484099a1d bump to 0.g 2013-03-26 18:31:12 +01:00
Laurent Bachelier
e0542c2e4a Fix comparisons to None
Diff checked manually.

autopep8 -a -ir -j2 --select=E711 .

This required the "agressive" option because it can change code
behavior.
2013-03-16 00:57:30 +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
Romain Bignon
06b314de48 little fixes
- logger might be a private attribute
- compare rdate to date, not to today
2013-02-10 02:17:54 +01:00
Romain Bignon
63dc4e05da support empty dates for transactions 2013-02-08 14:46:01 +01:00
Florent
bf3132e8c0 bump to 0.f 2013-01-25 17:23:49 +01:00
Florent
b100f77f95 Try if attribut exists before to try an access 2013-01-25 10:56:21 +01:00
Romain Bignon
78a5c3767f fix compatibility with python2.6 2013-01-16 17:50:29 +01:00
Romain Bignon
a8b1c5ed5b if both credit and debit are empty, set value to 0 2013-01-07 23:03:34 +01:00
Romain Bignon
d91dad2b2b support currencies 2012-12-06 13:21:13 +01:00
Laurent Bachelier
1f310a3d33 Fix many CapVideo-related ConversionWarnings 2012-11-10 18:18:29 +01:00
Florent
3cb78d1729 Add clean_relativ_urls in genericArticle.py
and use it for ecrans.fr
2012-11-07 18:13:03 +01:00
Florent
c1d19e40f8 Get the real thread of an article
Side effect: fix the bug of incorrect date by using boobmsg show
2012-11-07 17:36:35 +01:00
Florent
4a6107615d Increase readability of "id" variable 2012-11-07 17:33:45 +01:00
Romain Bignon
4a1e4b5afa bump to 0.e 2012-10-28 20:39:49 +01:00
Laurent Bachelier
b67a4eefe5 Split GenerericComicReaderTest to stop requiring nose for module usage 2012-10-24 13:38:21 +02: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
a7c024e3bc strip EUR from amount strings 2012-07-31 16:48:52 +02:00
Romain Bignon
7ee2d29792 clean_amount is now a class method 2012-07-02 14:00:36 +02:00
Romain Bignon
7cf060a5f6 add a check if the year is on two digits 2012-06-27 16:37:03 +02:00
Romain Bignon
1cd27395de check if matched arguments in transactions are not None 2012-05-31 13:40:57 +02:00
Romain Bignon
2f8072e89e bump to 0.d 2012-05-04 21:17:46 +02:00
Romain Bignon
c4ad0e705e credit isn't necessarily a positive amount 2012-04-10 10:40:56 +02:00
Romain Bignon
7559a4c93d strip all kind of spaces, check decimal values signs 2012-04-09 11:23:13 +02:00
Gabriel Kerneis
ee59891f62 boursorama: parse categories and date 2012-04-01 14:30:13 +02:00
Gabriel Kerneis
0f6393e642 bank: add a 'category' group in patterns 2012-04-01 11:23:35 +02:00
Romain Bignon
b157e92d5b use decimal.Decimal instead of float to store amounts of money 2012-03-29 16:31:18 +02:00
Romain Bignon
c6a141595c change way to describe fields of CapBaseObject, and lot of documentation 2012-03-26 14:35:54 +02:00
Laurent Bachelier
79724c90f5 Remove "thread" argument in iter_unread_messages
It is unused, and no backend implemented it — so it was wrong to have it
in the function signature.
It also does not seem very helpful, we have get_threads() if we want to
do something advanced with treads.

fixes #825
2012-03-23 07:04:40 +01:00
Romain Bignon
2675510f32 add a class FrenchTransaction to factorize common parsing of french banks 2012-03-22 16:33:05 +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
Romain Bignon
7e414804c8 add required class attributes 2012-03-10 09:23:12 +01:00
Florent
b986cc12fd Add generic cleanup for newspapers storage 2012-03-09 10:05:13 +01:00
Florent
b30b6398fa Don't get articles if already seen. 2012-02-22 12:57:00 +01:00
Romain Bignon
a0e4171af3 fix Newsfeed and GenericBackend 2012-02-18 17:40:22 +01:00
Florent
a195a5e9c8 Small fixe of the "rssid" method usage (updated)
Sorry, I did a little mistake.

Signed-off-by: Florent <weboob@flo.fourcot.fr>
Signed-off-by: Romain Bignon <romain@symlink.me>
2012-02-17 16:08:53 +01:00
Romain Bignon
4be4b40509 bump to 0.b 2012-02-05 19:35:30 +01:00
Laurent Bachelier
57ce35cef1 Better cleanup of generic articles and lefigaro
try_drop_tree() was only removing the first result.
closes #725
2012-02-01 02:04:17 +01:00