Switch to unified view
a/Allura/allura/model/filesystem.py | b/Allura/allura/model/filesystem.py | ||
---|---|---|---|
... |
... |
||
14 | 14 | ||
15 | 15 | ||
16 | SUPPORTED_BY_PIL=set([ |
16 | SUPPORTED_BY_PIL=set([ |
17 | 'image/jpg', |
17 | 'image/jpg', |
18 | 'image/jpeg', |
18 | 'image/jpeg', |
19 | 'image/pjpeg', |
||
19 | 'image/png', |
20 | 'image/png', |
21 | 'image/x-png', |
||
20 | 'image/gif']) |
22 | 'image/gif']) |
21 | 23 | ||
22 | class File(MappedClass): |
24 | class File(MappedClass): |
23 | class __mongometa__: |
25 | class __mongometa__: |
24 | session = project_orm_session |
26 | session = project_orm_session |