Skip to content

changeset d610ccd causes KeyError: 'get' #438

Closed

Description

@diefans
Error detected while processing function pymode#lint#check:
line   11:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/olli/.vim/bundle/python-mode/pymode/lint.py", line 56, in code_check
    errors = sorted(errors, key=__sort)
  File "/home/olli/.vim/bundle/python-mode/pymode/lint.py", line 50, in __sort
    return sort_rules.index(e.get('type'))
  File "/home/olli/.vim/bundle/python-mode/pymode/libs/pylama/errors.py", line 55, in __getattr__
    return self._info[name]
KeyError: 'get'

Activity

  1. klen commented on Jun 11, 2014

    @klen
    Collaborator

    My mistake. Fixed in develop version.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions