Commits

Anonymous committed 1a9d7de

findit: fixed an invalid reference

  • Participants
  • Parent commits b0b2a6c

Comments (0)

Files changed (1)

File rope/contrib/findit.py

     """
     fixer = fixsyntax.FixSyntax(project.pycore, code, resource, maxfixes)
     main_module = fixer.get_pymodule()
-    pyname = fixer.find_pyname_at(offset)
+    pyname = fixer.pyname_at(offset)
     if pyname is not None:
         module, lineno = pyname.get_definition_location()
         name = rope.base.worder.Worder(code).get_word_at(offset)