You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>>> from giturlparse import parse
>>> s = 'https://github.com/rubygems/rubygems/'
>>> p = parse(s)
>>> p.host
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/nasifimtiaz/Library/Caches/pypoetry/virtualenvs/package-locator-2SDQOXag-py3.9/lib/python3.9/site-packages/giturlparse/result.py", line 43, in host
return self.domain
AttributeError: 'GitUrlParsed' object has no attribute 'domain'
>>> p.owner
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'GitUrlParsed' object has no attribute 'owner'
The text was updated successfully, but these errors were encountered:
Thanks @davidjray@alingse@nasifimtiazohi for reporting this. It has been fixed by an unrelated PR, but I added this case in #53 to guard against regressions
fails to parse 'https://github.com/rubygems/rubygems/'. The issue arises from having a
/
character at the end.The text was updated successfully, but these errors were encountered: