Remove three unused endpoint definitions from PyiCloudService base

This commit is contained in:
Tor Arne Vestbø 2016-01-07 21:49:18 +01:00
parent 603b1d8f57
commit 2e836b9185

View file

@ -40,12 +40,9 @@ class PyiCloudService(object):
self._home_endpoint = 'https://www.icloud.com' self._home_endpoint = 'https://www.icloud.com'
self._setup_endpoint = 'https://p12-setup.icloud.com/setup/ws/1' self._setup_endpoint = 'https://p12-setup.icloud.com/setup/ws/1'
self._push_endpoint = 'https://p12-pushws.icloud.com'
self._base_login_url = '%s/login' % self._setup_endpoint self._base_login_url = '%s/login' % self._setup_endpoint
self._base_validate_url = '%s/validate' % self._setup_endpoint self._base_validate_url = '%s/validate' % self._setup_endpoint
self._base_system_url = '%s/system/version.json' % self._home_endpoint
self._base_webauth_url = '%s/refreshWebAuth' % self._push_endpoint
if cookie_directory: if cookie_directory:
self._cookie_directory = os.path.expanduser( self._cookie_directory = os.path.expanduser(