This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author schuppenies
Recipients georg.brandl, schuppenies
Date 2008-08-04.12:47:16
SpamBayes Score 3.34467e-07
Marked as misclassified No
Message-id <1217854037.97.0.189815073445.issue3498@psf.upfronthosting.co.za>
In-reply-to
Content
Using sphinx I get the following error if I want to document methods via
automethod:

reading sources... copyright glossary [..] refbrowser Exception
occurred: File
  "[..]/doctools/sphinx/ext/autodoc.py", line 313, in resolve_name
    if not mod_cls:
UnboundLocalError: local variable 'mod_cls' referenced before
assignment. [..]

I am not familiar with the code base, but from the comments the attached
patch should address the issue.
History
Date User Action Args
2008-08-04 12:47:18schuppeniessetrecipients: + schuppenies, georg.brandl
2008-08-04 12:47:17schuppeniessetmessageid: <1217854037.97.0.189815073445.issue3498@psf.upfronthosting.co.za>
2008-08-04 12:47:17schuppenieslinkissue3498 messages
2008-08-04 12:47:16schuppeniescreate