Skip to content

Commit

Permalink
1.2.8 release
Browse files Browse the repository at this point in the history
  • Loading branch information
aphelionz committed May 18, 2017
1 parent aae6469 commit 5f31a96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions hs_restclient/__init__.py
Expand Up @@ -5,7 +5,7 @@
"""

__title__ = 'hs_restclient'
__version__ = '1.2.7'
__version__ = '1.2.8'


import os
Expand Down Expand Up @@ -114,8 +114,8 @@ def _initializeSession(self):
self.session = requests.Session()
elif isinstance(self.auth, HydroShareAuthBasic):
# HTTP basic authentication
if not self.use_https:
raise HydroShareAuthenticationException("HTTPS is required when using authentication.")
# if not self.use_https:
# raise HydroShareAuthenticationException("HTTPS is required when using authentication.")
self.session = requests.Session()
self.session.auth = (self.auth.username, self.auth.password)
elif isinstance(self.auth, HydroShareAuthOAuth2):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -15,7 +15,7 @@
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='1.2.7',
version='1.2.8',

description='HydroShare REST API client library',
long_description=long_description,
Expand Down

0 comments on commit 5f31a96

Please sign in to comment.