Project

General

Profile

Revision b8500d1a

IDb8500d1a78503261749cac8a2735dbeea63b18a8
Parent a8bc47ae
Child 5011664c

Added by Thomas ANDREJAK over 14 years ago

Amélioration Pylint

git-svn-id: https://vigilo-dev.si.c-s.fr/svn@599 b22e2e97-25c9-44ff-b637-2e5ceca36478

View differences:

vigiboard/controllers/vigiboard_plugin/tests.py
1 1
# -*- coding: utf-8 -*-
2 2
# vim:set expandtab tabstop=4 shiftwidth=4: 
3
"""
4
Plugin for tests
5
"""
3 6

  
4 7
from vigiboard.controllers.vigiboard_plugin.shn import \
5 8
	        PluginSHN
......
9 12
    """Plugin de test"""
10 13
    
11 14
    def __init__(self):
12
        super(PluginSHN,self).__init__(
15
        PluginSHN.__init__(
16
            self,
13 17
            table = [EventHistory.idevent],
14 18
            join = [(EventHistory, EventHistory.idevent == Events.idevent)]
15 19
        )
16 20

  
17 21
    def show(self, req):
18
	"""Fonction d'affichage"""
19
	return req[1]
20

  
22
        """Fonction d'affichage"""
23
        return req[1]

Also available in: Unified diff