This file is indexed.

/usr/share/pyshared/Ihm/I_VALIDATOR.py is in eficas 6.4.0-1-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
# -*- coding: utf-8 -*-

from Noyau.N_VALIDATOR import *

class Compulsory(Compulsory):
      def has_into(self):
          return 0
      def valide_liste_partielle(self,liste_courante=None):
          return 1

class OrdList(OrdList):
      def valide_liste_partielle(self,liste_courante=None):
          """
           Méthode de validation de liste partielle pour le validateur OrdList
          """
          try:
             self.convert(liste_courante)
             valid=1
          except:
             valid=0
          return valid