Skip to content

addendum #12

@mwyngloddwr

Description

@mwyngloddwr

Re last issue submitted by me. Having examined the tutorial code in detail I have re-edited the file 'pycon-sphinx-tutorial/crawler/src/main.py' so that when I run 'make.html' the build no longer fails and 'api.rst' displays correctly.

What I had to do was to modify the line 'from utils import log, should_ignore' to 'from crawler.utils import log, should_ignore'. The context for this change is that I had previously added 'pycon-sphinx-tutorial/crawler/src', the directory containing 'utils.py', to the Python sys.path so as to import 'log' and 'should_ignore' from the module now renamed crawler.utils.

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