"""A regular expression to determine whether to ignore the line"""
ignore_line = False
- def new(self):
+ def new(self, pkg):
pass
def check(self, num, line):
_autotools_func_re = re.compile(r'(^|\s)(' + \
"|".join(_autotools_funcs) + ')(\s|$)')
- def new(self):
+ def new(self, pkg):
self._inherit_autotools = None
self._autotools_func_call = None
repoman_check_name = 'IUSE.undefined'
_iuse_def_re = re.compile(r'^IUSE=.*')
- def new(self):
+ def new(self, pkg):
self._iuse_def = None
def check(self, num, line):
checks = _constant_checks
for lc in checks:
- lc.new()
+ lc.new(pkg)
for num, line in enumerate(contents):
for lc in checks:
ignore = lc.ignore_line