Skip to content

error when execute p4a in line from urlparse import urlparse #488

@zendbit

Description

@zendbit

I am using python 3.5, error when execute p4a on toolchain.py

error :
on import expression 'from urlparse import urlparse'

I fixed it with adding try catch when importing it, for compatibility reason:
try:
from urlparse import urlparse
except ImportError:
from urllib.parse import urlparse

Regards,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions