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

Move to download images using requests library. #698

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mykaul
Copy link

@mykaul mykaul commented Mar 15, 2018

More modern, hopefully somewhat faster.

@mykaul mykaul force-pushed the download_using_requests branch from 2fc5a9f to b831a10 Compare March 15, 2018 11:05
@eedri
Copy link
Contributor

eedri commented Mar 15, 2018

Is python-requests available on RHEL and Centos? this will be needed for lago demo tool and running lago on RHEL.

@mykaul
Copy link
Author

mykaul commented Mar 15, 2018

@eedri I'd be very surprised if it's not, but apparently things are failing :(

@@ -15,3 +15,4 @@ wrapt
Jinja2
xmltodict
netaddr
requests
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be added to the spec file as well.

import sys
import urllib
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we still need urllib?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is still used in the code.

More modern, hopefully somewhat faster.
@mykaul mykaul force-pushed the download_using_requests branch from a0a5b2b to c4e1107 Compare April 11, 2018 07:22
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

Successfully merging this pull request may close these issues.

3 participants