Skip to content

Commit

Permalink
Python 2.7 bug fix included
Browse files Browse the repository at this point in the history
  • Loading branch information
NodePing committed Jul 16, 2020
1 parent c655a36 commit 69fd392
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
7 changes: 7 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
## [Unreleased]
(Placeholder for unreleased content)

## [1.1.3]

2020-07-16

### Fixed
- Failed import fixed for Python 2.7

## [1.1.2]

2020-05-06
Expand Down
5 changes: 4 additions & 1 deletion nodeping_api/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
""" Helper functions to reduce code reuse and misc other uses
"""

from urllib.parse import quote
try:
from urllib.parse import quote
except ImportError:
from urllib import quote


def create_url(token, url, customerid):
Expand Down
14 changes: 7 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
with open("README.md", "r") as fh:
long_description = fh.read()

NAME = 'nodeping_api'
DESCRIPTION = 'Python package for querying the NodePing API'
URL = 'https://github.com/NodePing/python-nodeping-api'
EMAIL = '[email protected]'
AUTHOR = 'NodePing'
VERSION = '1.1.2'
LICENSE = 'MIT'
NAME = "nodeping_api"
DESCRIPTION = "Python package for querying the NodePing API"
URL = "https://github.com/NodePing/python-nodeping-api"
EMAIL = "[email protected]"
AUTHOR = "NodePing"
VERSION = "1.1.3"
LICENSE = "MIT"

setuptools.setup(
name=NAME,
Expand Down

0 comments on commit 69fd392

Please sign in to comment.