This file is indexed.

/usr/share/pyshared/Traducteur/log.py is in eficas 6.4.0-1-1.1.

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
22
23
24
25
26
27
28
29
30
# -*- coding: utf-8 -*-

import logging
import os
logger=logging.getLogger()

def initialise(flog=None):
    if flog == None : 
          MonHome=os.environ['HOME']
          MaDir=MonHome+"/Eficas_install"
          try :
            os.mkdir(MaDir)
          except :
            pass
          try :
            os.listdir(MaDir)
            flog=MaDir+"/convert.log"
          except :
            flog='/tmp/convert.log'

    hdlr=logging.FileHandler(flog,'w')
    formatter = logging.Formatter('%(levelname)s: %(message)s')
    hdlr.setFormatter(formatter)
    logger.addHandler(hdlr) 
    logger.setLevel(logging.INFO)
    return hdlr


def ferme (hdlr) :
    logger.removeHandler(hdlr)