Skip to content

Completely breaks with uris like 'git+https://imbot:xyz@bitbucket.org/myorg/myrepo.git@r181' #10

@stuaxo

Description

@stuaxo

Completely breaks with uris like 'git+https://imbot:xyz@bitbucket.org/myorg/myrepo.git@r181'

  • Note this is on py3
p = parse('git+https://imbot:xyz@bitbucket.org/myorg/myrepo.git@r181')
<ipython-input-12-ae88ad3206df> in <module>()
----> 1 p.github

/home/stu/.virtualenvs/juggler-ng/lib/python3.5/site-packages/giturlparse/result.py in github(self)
     93     @property
     94     def github(self):
---> 95         return self.platform == 'github'
     96 
     97     @property

AttributeError: 'GitUrlParsed' object has no attribute 'platform'
----> 1 p.host

/home/stu/.virtualenvs/juggler-ng/lib/python3.5/site-packages/giturlparse/result.py in host(self)
     39     @property
     40     def host(self):
---> 41         return self.domain
     42 
     43     @property

AttributeError: 'GitUrlParsed' object has no attribute 'domain'

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