diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2008-06-06 03:04:59 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2008-06-06 03:04:59 +0000 |
commit | 29e5e7aa4a8f48bbb550016ce60f1c74a6a7e1ce (patch) | |
tree | 28882052612d4ca649abefa4dd3970c26e3fa142 | |
parent | Move global constants and add more for validation. (diff) | |
download | rbot-bugzilla-29e5e7aa4a8f48bbb550016ce60f1c74a6a7e1ce.tar.gz rbot-bugzilla-29e5e7aa4a8f48bbb550016ce60f1c74a6a7e1ce.tar.bz2 rbot-bugzilla-29e5e7aa4a8f48bbb550016ce60f1c74a6a7e1ce.zip |
Use new validations.
-rw-r--r-- | bugzilla.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bugzilla.rb b/bugzilla.rb index dec329e..f39f7a9 100644 --- a/bugzilla.rb +++ b/bugzilla.rb @@ -837,11 +837,12 @@ plugin.map 'bug :zilla :number', plugin.map 'archstats :zilla :status :reso', :action => 'archstats', :requirements => { - :status => /^[\w,]+$/, - :resolution => /^[\w,]+$/, + :status => STATUS_INPUT_N, + :resolution => RESO_INPUT_N, :zilla => /^[^ ]+$/ }, :defaults => { + :zilla => nil, :status => nil, :resolution => nil, }, |