Revision 02c4a1e7
[#1543] Compatibilité TG 2.3.x
Change-Id: I9171224d261ccbc2d9a1b3d3c9107f10742bdd54
Refs: #1543
vigiboard/controllers/feeds.py | ||
---|---|---|
7 | 7 |
import logging |
8 | 8 |
from tg import expose, response |
9 | 9 |
from datetime import datetime |
10 |
from tg.controllers import CUSTOM_CONTENT_TYPE |
|
11 | 10 |
|
12 | 11 |
from vigilo.turbogears.controllers import BaseController |
13 | 12 |
|
... | ... | |
18 | 17 |
class FeedsController(BaseController): |
19 | 18 |
# pylint: disable-msg=R0201,W0613 |
20 | 19 |
|
21 |
@expose('atom.xml', content_type=CUSTOM_CONTENT_TYPE)
|
|
20 |
@expose('atom.xml') |
|
22 | 21 |
def atom(self, token, username): |
23 | 22 |
""" |
24 | 23 |
""" |
Also available in: Unified diff