Skip to content

futurize --output-dir references undefined logger #102

@edschofield

Description

@edschofield

Reported by Mark Richardson on the python-porting list:

Tried running futurize on some of my old python2 code and the futurizer blew up around line 271 with error:

NameError: name 'logger' is not defined

The original line starts with

   logger.info('Output ...

and I think it should be

   logging.info('Output ...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions