Commenting is still broken

Reported by Peter Banka on 2010-04-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bombardier
High
Peter Banka

Bug Description

As follows, spaces are still not found at times, regex fails:

(*3) SkyNut (peter.banka)> comment
 %% Error detected in comment (list index out of range).
||>>>Traceback (most recent call last):
||>>> File "/usr/lib/python2.5/site-packages/bombardier_cli/Slash.py", line 112, in process_command
||>>> status, output = self.run(tokens, no_flag)
||>>> File "/usr/lib/python2.5/site-packages/bombardier_cli/Slash.py", line 78, in run
||>>> return_value = owner.cmd(tokens, no_flag)
||>>> File "/usr/lib/python2.5/site-packages/bombardier_cli/Comment.py", line 134, in cmd
||>>> submit, publish, job_names, comments = get_comments(form_text)
||>>> File "/usr/lib/python2.5/site-packages/bombardier_cli/Comment.py", line 87, in get_comments
||>>> publish, job_names, comments = process_form_data(form_data)
||>>> File "/usr/lib/python2.5/site-packages/bombardier_cli/Comment.py", line 71, in process_form_data
||>>> match = re.compile('\[(.)\]\s+(\S+@\S+\-\d+)\:').findall(line)[0]
||>>>IndexError: list index out of range

Peter Banka (pbanka) wrote :

This seemed to already be fixed. Not sure why we're still seeing it in QA.

Changed in bombardier:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → Peter Banka (pbanka)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers