Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
stuaxo opened this issue Apr 5, 2016 · 0 comments

Comments

@stuaxo
Copy link

stuaxo commented Apr 5, 2016

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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant