Skip to content

python3.5.2 error on __init__ line 147 #5

@retosteffen

Description

@retosteffen

Should line 147 read:
except HTTPException as e: print(str(e))
instead of
except HTTPException, e: print(str(e))
which gives me an error for python3.5.2

--edit--
I also needed to make the import explicit with python3.5.2 for line 5
from http:client import HTTPConnection, HTTPSConnection, HTTPException

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions