Trees | Indices | Help |
|
---|
|
classify bugs using usertags based on the bug subject lines
>>> BugClassifier.rm_re.match( "RM: asdf" ) != None True >>> BugClassifier.rm_re.match( "[dak] Packages.diff/Index broken" ) != None False >>> BugClassifier.dak_re.match( "[dak] Packages.diff/Index broken" ) != None True
|
|||
|
|||
|
|||
|
|
|||
rm_re = re.compile("^RM")
|
|||
dak_re = re.compile(r"^\[dak\]")
|
|||
arch_re = re.compile(r"^\[Architectures\]")
|
|||
override_re = re.compile("^override")
|
|||
classifiers = {rm_re: 'remove', dak_re: 'dak', arch_re: 'archs
|
|
classifiers
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Oct 30 23:34:26 2024 | http://epydoc.sourceforge.net |