Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-release > by-pkgid > d434429596d9638eeebf2d31830ace18 > files > 2

rpmlint-1.10-4.mga7.noarch.rpm

# Mageia rpmlint exception configuration
# Ask the rpmlint maintainers if you want to add exceptions here
#

# execfile() implementation for Python 3
def execfile(filepath, globals=None, locals=None):
    if globals is None:
        globals = {}
    globals.update({
        "__file__": filepath,
        "__name__": "__main__",
    })
    with open(filepath, 'rb') as file:
        exec(compile(file.read(), filepath, 'exec'), globals, locals)

from Config import *

import glob
for f in glob.glob('/usr/share/rpmlint/config.d/*.conf'):
    try:
        execfile(f)
    except Exception as E:
        sys.stderr.write('Error loading %s, skipping: %s\n' % (f, E.args[0]))

setOption('BadnessThreshold', 10)
 
# Config.py ends here