CiscoUcs / ucsmsdk

Python SDK for Cisco UCSM
Other
81 stars 60 forks source link

Proxy does not work on Python3 due to urllib2.ProxyHandler #207

Closed mar-97 closed 1 year ago

mar-97 commented 3 years ago

The ProxyHandler has been moved from urllib2 to urllib.request in Python3. This needs to be updated in __get_handlers method in ucsdriver.py.

import urllib.request proxy_handler = urllib.request.ProxyHandler( {'http': self.__proxy, 'https': self.__proxy})

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale.