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 Sun Dec 15 14:08:50 2024 | http://epydoc.sourceforge.net |