896: IndexError in diffviewer/views.py

hee****@gmai***** (Google Code) (Is this you? Claim this profile.)
Feb. 25, 2009
892
Traceback (most recent call last):
  File
"/usr/lib/python2.5/site-packages/ReviewBoard-1.0alpha4-py2.5.egg/reviewboard/diffviewer/views.py",
line 141, in view_diff
    first_file = page.object_list[0]
IndexError: list index out of range
#1 j**@multan****** (Google Code) (Is this you? Claim this profile.)
This has already been reported in issue 892.
#2 hee****@gmai***** (Google Code) (Is this you? Claim this profile.)
That looks similar, but it happens sonwhere else in file. It looks like you're accessing elements of an array 
without checking to see if they exist first. Just because you make the same mistake twice doesn't make it 
one bug. If they are separate issues, please fix both. 
chipx86
#3 chipx86
It's really the same bug. Working on it now.