[Collab-qa-commits] r766 - bapase
lucas at alioth.debian.org
lucas at alioth.debian.org
Sun Apr 6 16:11:28 UTC 2008
Author: lucas
Date: 2008-04-06 16:11:28 +0000 (Sun, 06 Apr 2008)
New Revision: 766
Modified:
bapase/datafiles.rb
Log:
made RM an alias for REQ_RM
Modified: bapase/datafiles.rb
===================================================================
--- bapase/datafiles.rb 2008-04-06 16:03:23 UTC (rev 765)
+++ bapase/datafiles.rb 2008-04-06 16:11:28 UTC (rev 766)
@@ -113,7 +113,7 @@
date = Date::parse(date)
if act =~ /^(.+)\((.+)\)$/
act_name, act_arg = $1, $2
- if [ 'PROP_RM', 'PROP_RM_O', 'PROP_O', 'O', 'REQ_RM', 'SEC_RM', 'O_PROP_RM' ].include?(act_name)
+ if [ 'PROP_RM', 'PROP_RM_O', 'PROP_O', 'O', 'REQ_RM', 'RM', 'SEC_RM', 'O_PROP_RM' ].include?(act_name)
# FIXME check bug
elsif act_name == 'WAIT'
act_arg = act_arg.to_i
@@ -150,7 +150,7 @@
@act_comment = @actions[idx][3] if not @actions[idx][3].nil?
break
end
- elsif @actions[idx][2][0] == 'REQ_RM'
+ elsif @actions[idx][2][0] == 'REQ_RM' or @actions[idx][2][0] == 'RM'
@act_status = "<a href=\"http://bugs.debian.org/#{@actions[idx][2][1]}\">Removal was requested</a>"
@act_comment = @actions[idx][3] if not @actions[idx][3].nil?
break
More information about the Collab-qa-commits
mailing list