Skip to content

Commit ac50246

Browse files
committed
Merge pull request #1 from atarantini/master
Core: Fixed setup.py url setting to match repository. Client: Removed unnecesary code.
2 parents 29c5244 + 6d09bf0 commit ac50246

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

pymango/client.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ def req(api_key, method, endpoint, data=None, params=None):
6161
text=response.text
6262
))
6363
raise InputValidationError(error_code, error_message)
64-
elif response.status_code == 404:
65-
raise NotFound
6664
elif response.status_code == 401:
6765
raise AuthenticationError
6866
elif response.status_code == 404:

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
author="Mango Development Team",
77
author_email="[email protected]",
88
packages=["pymango"],
9-
url="http://github.com/mango/pymango/",
10-
license="LICENSE",
9+
url='https://getmango.com/',
10+
download_url="https://github.com/Mango/mango-python",
11+
license="MIT",
1112
description="Python library for Mango Payment API",
1213
long_description="Basic python library to interact with Mango Payment API",
1314
install_requires=[

0 commit comments

Comments
 (0)