188: Running manage.py with no arguments raises exception
- Fixed
- Review Board
| michae******@gmai***** (Google Code) (Is this you? Claim this profile.) | |
| Aug. 8, 2007 |
Running ./manage.py with no arguments and DEBUG enabled causes a stack trace:
$ ./manage.py
Traceback (most recent call last):
File "./manage.py", line 82, in <module>
if sys.argv[1] == 'runserver' or sys.argv[1] == 'test':
IndexError: list index out of range
Patch at http://reviews.review-board.org/r/136/