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

AttributeError: 'LinkResult' object has no attribute 'url' #5

Closed
livibetter opened this issue Jan 22, 2013 · 1 comment
Closed

AttributeError: 'LinkResult' object has no attribute 'url' #5

livibetter opened this issue Jan 22, 2013 · 1 comment

Comments

@livibetter
Copy link

I tried this with 0d2e7e5:

./run.py https://mincss.readthedocs.org/en/latest/

and got an error:

FOR _static/pygments.css
Traceback (most recent call last):
  File "./run.py", line 35, in <module>
    if link.href != link.url:
AttributeError: 'LinkResult' object has no attribute 'url'

The attribute url assignment is commented out in the LinkResult.__init__. I guess the code above was forgotten to be updated?

@peterbe
Copy link
Owner

peterbe commented Jan 23, 2013

Thanks @ajdavis found this already:
#6

Unfortunately I have no tests on the run.py command.

@peterbe peterbe closed this as completed Jan 23, 2013
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

2 participants