Versioning and removing small block of commented code

This commit is contained in:
Madison May
2014-12-20 17:29:56 -05:00
parent 41b84eecec
commit 9c051099b2
4 changed files with 4 additions and 5 deletions
+1
View File
@@ -17,3 +17,4 @@ v0.4.11, Thu Dec 18 -- Updated tests for text tags
v0.4.12, Fri Dec 19 -- Added batch support interface
v0.4.13, Fri Dec 19 -- Added optional arguments to text tags API
v0.4.14, Sat Dec 20 -- Fix for batch image features preprocessing, increased test coverage
v0.4.15, Sat Dec 20 -- Bug fix release
+1 -1
View File
@@ -3,7 +3,7 @@ import indicoio.config as config
JSON_HEADERS = {'Content-type': 'application/json', 'Accept': 'text/plain'}
Version, version, __version__, VERSION = ('0.4.14',) * 4
Version, version, __version__, VERSION = ('0.4.15',) * 4
from indicoio.text.sentiment import political, posneg
from indicoio.text.sentiment import posneg as sentiment
+1 -3
View File
@@ -26,9 +26,7 @@ def api_handler(arg, url, batch=False, auth=None, **kwargs):
json_data = json.dumps(data)
if batch:
url += "/batch"
# if not auth:
# auth = auth_query()
response = requests.post(url, data=json_data, headers=JSON_HEADERS, auth=auth).json()
results = response.get('results', False)
if results is False:
+1 -1
View File
@@ -8,7 +8,7 @@ except ImportError:
setup(
name="IndicoIo",
version='0.4.14',
version='0.4.15',
packages=[
"indicoio",
"indicoio.text",