This file is indexed.

/usr/share/pyshared/InterfaceQT4/monOptionsPdf.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
31
32
33
34
35
36
37
38
39
40
41
# -*- coding: utf-8 -*-

from PyQt4.QtGui  import *
from PyQt4.QtCore import *

from OptionsPdf import Ui_desPdf

class desPdf(Ui_desPdf,QDialog):
   def __init__(self,parent ,modal ) :
       QDialog.__init__(self,parent)
       self.setupUi(self)
       self.setModal(modal)
     

class OptionPdf(desPdf):
   def __init__(self,parent = None,modal = 0,configuration=None):
       #print "OptionsPdf"
       desPdf.__init__(self,parent,modal)
       self.configuration=configuration
       self.initVal()
       self.connecterSignaux()

   def connecterSignaux(self) :
       self.connect(self.BCancel,SIGNAL("clicked()"),self.reject)
       self.connect(self.LERepPdf,SIGNAL("returnPressed()"),self.LeRepPdfPressed)
       self.connect(self.Bok,SIGNAL("clicked()"),self.BokClicked)

   def initVal(self):
       if hasattr(self.configuration,'exec_acrobat'):
          self.LERepPdf.setText(self.configuration.exec_acrobat)
       else :
          self.LERepPdf.clear()
   
   def LeRepPdfPressed(self):
       nouveau=str(self.LERepPdf.text())
       self.configuration.exec_acrobat=nouveau
       self.configuration.save_params()

   def BokClicked(self):
       self.LeRepPdfPressed()
       self.close()