Commit graph

6 commits

Author SHA1 Message Date
Laurent Bachelier
448c06d125 pep8 blank lines fixes
flake8 --select W391,E302,E301,E304

autopep8 can't fix W391 even though it claims it can.
Fixed using a simple custom script.
2014-10-10 23:41:44 +02:00
Romain Bignon
e025fb0b20 rename ICap to Cap (closes #1424) 2014-07-05 17:33:44 +02:00
Romain Bignon
ab7057b038 fix repr() and str() on File-based objects 2014-07-05 17:20:53 +02:00
Bezleputh
feb0e378dc [thumbnail] remove data field in to_dict method to avoid json crash during convertion 2014-06-27 09:00:07 +02:00
Pierre Mazière
78aab49ddd rename id method arguments to _id
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-08 23:22:31 +01:00
Pierre Mazière
19d7180c13 add ICapImage and BaseImage
BaseImage was extracted from the gallery capability and
refactored to inherit from BaseFile.
As I did not look further into the gallery capability, I left
the original BaseImage there.
I'm aware that it's not an healthy situation, but it seems
to be used only by modules using ICapGallery and hopefully
should not have any consequences for now

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2013-12-22 20:04:53 +01:00