Skip to content
This repository was archived by the owner on Apr 22, 2025. It is now read-only.
This repository was archived by the owner on Apr 22, 2025. It is now read-only.

Creating tag fails on staticmethod with single optional argument #21

Description

@rohdef

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions