Project

General

Profile

Revision 02c4a1e7

ID02c4a1e751b5e5251c5a542fd5b668951a15fa26
Parent 04cd2200
Child d3bc1ee3

Added by Francois POIROTTE almost 7 years ago

[#1543] Compatibilité TG 2.3.x

Change-Id: I9171224d261ccbc2d9a1b3d3c9107f10742bdd54
Refs: #1543

View differences:

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