BigW Consortium Gitlab

Commit 1a7dae50 by Tarun Bhardwaj

Merge branch 'release/0.4.6'

parents f46f3333 d5bb4ff4
...@@ -2,7 +2,7 @@ from _v2 import EtsyV2 as Etsy # noqa ...@@ -2,7 +2,7 @@ from _v2 import EtsyV2 as Etsy # noqa
from etsy_env import EtsyEnvProduction # noqa from etsy_env import EtsyEnvProduction # noqa
__version__ = '0.3.1' __version__ = '0.4.6'
__author__ = 'Dan McKinley & Fulfil.IO Inc.' __author__ = 'Dan McKinley & Fulfil.IO Inc.'
__copyright__ = 'Copyright 2010, Etsy Inc.' __copyright__ = 'Copyright 2010, Etsy Inc.'
__license__ = 'GPL v3' __license__ = 'GPL v3'
......
...@@ -101,10 +101,10 @@ class APIMethod(object): ...@@ -101,10 +101,10 @@ class APIMethod(object):
def compile(self): def compile(self):
uri = self.spec['uri'] uri = self.spec['uri']
self.positionals = re.findall('{(.*)}', uri) self.positionals = re.findall(':([_\w]+)', uri)
for p in self.positionals: for p in self.positionals:
uri = uri.replace('{%s}' % p, '%%(%s)s' % p) uri = uri.replace(':%s' % p, '%%(%s)s' % p)
self.uri_format = uri self.uri_format = uri
self.compiled = True self.compiled = True
......
[bumpversion]
current_version = 0.4.6
commit = True
tag = True
[bumpversion:file:setup.py]
search = version='{current_version}'
replace = version='{new_version}'
[bumpversion:file:etsy/__init__.py]
search = __version__ = '{current_version}'
replace = __version__ = '{new_version}'
...@@ -17,7 +17,7 @@ test_requirements = [ ...@@ -17,7 +17,7 @@ test_requirements = [
setup( setup(
name='pyetsy', name='pyetsy',
version='0.4.5', version='0.4.6',
author='Dan McKinley & Fulfil.IO Inc.', author='Dan McKinley & Fulfil.IO Inc.',
author_email='dan@etsy.com,support@fulfil.io', author_email='dan@etsy.com,support@fulfil.io',
description='Python access to the Etsy API', description='Python access to the Etsy API',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment