This file is indexed.

/usr/lib/python2.7/dist-packages/pymecavideo/widgetratioqt4.py is in python-mecavideo 6.3-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
42
43
44
45
46
47
48
# -*- coding: utf-8 -*-
import sys
#from PyQt5.QtCore import *
#from PyQt5.QtGui import *
#from PyQt5.QtWidgets import *
from PyQt4.QtCore import *
from PyQt4.QtGui import *

class widgetratio(QTabWidget):
    def __init__(self, parent):
        QTabWidget.__init__(self,parent)
        self.setMinimumSize(QSize(876, 618))

        sizePolicy = QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(True)
        self.setSizePolicy(sizePolicy)

class centralwidgetratio(QWidget):
    def __init__(self, parent):
        QTabWidget.__init__(self,parent)
        sizePolicy = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Preferred)
        self.setMinimumSize(QSize(876, 615))
        self.parent = parent
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(True)
        self.setSizePolicy(sizePolicy)
        self.setGeometry(0,15,876,615)

    def heightForWidth(self, w):
        if self.width() <875 or self.height() < 615:
            return 615
        else :
            try :
                hauteur = int((self.width()-self.parent.decalw)/self.parent.ratio)+self.parent.decalh
                return hauteur if hauteur >= 615 else 615
            except AttributeError:
                return 615

    def sizeHint(self):
        w = self.width()
        return QSize( w, self.heightForWidth(w) )

    def resizeEvent(self, e):
        #QApplication.instance().processEvents()
        self.setFixedHeight(self.heightForWidth(self.width()))