rohdef/pysmell — Issue #21: Creating tag fails on staticmethod with single optional argument
Author: rohdef
Created: 2011-10-24 10:23:40+00:00
State: open

What steps will reproduce the problem?
1. Attempt to create smell tag for attached file
2.
3.

What is the expected output? What do you see instead?
The following error is output:

-=#=- -=#=- -=#=- -=#=- -=#=- -=#=- -=#=- -=#=- -=#=- -=#=-
EXCEPTION in test_tag.py
list index out of range
-=#=- -=#=- -=#=- -=#=- -=#=- -=#=- -=#=- -=#=- -=#=- -=#=-

What version of the product are you using? On what operating system?
0.7.3 , Windows XP

Please provide any additional information below.

The error originates from "getFuncArgs" in the "codefinder" module. It is attempting to set an item in the "args" list, which is empty.

http://code.google.com/p/pysmell/issues/detail?id=34