Skip to content
This repository was archived by the owner on Oct 19, 2023. It is now read-only.
This repository was archived by the owner on Oct 19, 2023. It is now read-only.

validate if import boilerplate is needed #163

Open
@proppy

Description

@proppy

In 22db071 we introduced some boilerplate to workaround namespace import differences when executing from python modules (python -m pushtotalk) vs scripts (python pushtotalk.py) for python 2.y and python 3.5.

This broke with #160 as python 3.6 changed the type of the exception raised from SystemError to ImportError.

#162 introduce a quick fix, but we should make sure to validate there is not a better way to make relative import for both cases and all supported python versions.

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