Skip to content
This repository was archived by the owner on Jul 28, 2020. It is now read-only.

Commit af59fdd

Browse files
committed
Version Scheme
1 parent 14be400 commit af59fdd

File tree

4 files changed

+5
-10
lines changed

4 files changed

+5
-10
lines changed

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,17 @@
88

99
from setuptools import find_packages, setup
1010

11+
import zenaton
12+
1113

1214
def read(filename):
1315
path = os.path.join(os.path.dirname(__file__), filename)
1416
with open(path, encoding='utf-8') as f:
1517
return f.read()
1618

17-
1819
setup(
1920
name='zenaton',
20-
version='0.2.1',
21+
version=zenaton.__version__,
2122
author='Zenaton',
2223
author_email='[email protected]',
2324
description='Zenaton client library',

zenaton/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = '0.2.2'

zenaton/services/http_service.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class HttpService:
2323
:returns: the request's response content
2424
"""
2525
def request(self, method, url, headers, data=None):
26-
if True:
26+
if False:
2727
print('\n')
2828
print(method)
2929
print(headers)
@@ -38,13 +38,6 @@ def request(self, method, url, headers, data=None):
3838
raise InternalError
3939
except requests.exceptions.ConnectionError:
4040
raise ConnectionError
41-
if False:
42-
print('\n')
43-
print(method)
44-
print(headers)
45-
print(url)
46-
print(json.dumps(data))
47-
print(content)
4841
return content
4942

5043
"""GET function, calls with the right arguments request()"""

0 commit comments

Comments
 (0)