Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating tag fails on staticmethod with single optional argument #21

Open
rohdef opened this issue Oct 24, 2011 · 0 comments
Open

Creating tag fails on staticmethod with single optional argument #21

rohdef opened this issue Oct 24, 2011 · 0 comments

Comments

@rohdef
Copy link
Owner

rohdef commented Oct 24, 2011

What steps will reproduce the problem?

  1. Attempt to create smell tag for attached file

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant