From 009a120c736ef1056a5d7b89385beb0baeaade6c Mon Sep 17 00:00:00 2001 From: Joe Dallago Date: Sun, 10 Nov 2013 20:08:16 +0000 Subject: [PATCH 1/2] Fixed issue #10. Fixed a semantic error when calling post_async. --- firebase/firebase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firebase/firebase.py b/firebase/firebase.py index 3f78f8d..446e034 100644 --- a/firebase/firebase.py +++ b/firebase/firebase.py @@ -335,7 +335,7 @@ def post_async(self, url, data, callback=None, params=None, headers=None): params = params or {} headers = headers or {} endpoint = self._build_endpoint_url(url, None) - params, headers = self._authenticate(params, headers) + self._authenticate(params, headers) data = json.dumps(data, cls=JSONEncoder) process_pool.apply_async(make_post_request, args=(endpoint, data, params, headers), From 574b61e93b23f37e70e85ee003edd70f9d52649c Mon Sep 17 00:00:00 2001 From: Joe Dallago Date: Fri, 15 Nov 2013 21:54:20 +0000 Subject: [PATCH 2/2] Removed the import of __version__. --- firebase/__init__.py | 2 -- setup.py | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/firebase/__init__.py b/firebase/__init__.py index 95463d4..8c84e53 100644 --- a/firebase/__init__.py +++ b/firebase/__init__.py @@ -3,8 +3,6 @@ from .async import process_pool from firebase import * -__version__ = '1.1' -VERSION = tuple(map(int, __version__.split('.'))) @atexit.register def close_process_pool(): diff --git a/setup.py b/setup.py index 0474a2d..d32d7d1 100644 --- a/setup.py +++ b/setup.py @@ -6,14 +6,12 @@ except ImportError: from distutils.core import setup -from firebase import __version__ - with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: long_description = readme.read() setup(name='python-firebase', - version=__version__, + version='1.1', description="Python interface to the Firebase's REST API.", long_description=long_description, classifiers=[