Skip to content

Commit c585b38

Browse files
author
Nicolas Beguier
committed
CASSH Client v1.4.5
1 parent 23ac36d commit c585b38

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

CHANGELOG_cassh_client.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ CHANGELOG
44
CASSH Client
55
-----
66

7+
1.4.5
8+
-----
9+
10+
2017/12/07
11+
12+
### Bug Fixes
13+
14+
urlencode import error in python 3
15+
716
1.4.4
817
-----
918

cassh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@ from os import chmod, chown, getenv
1313
from os.path import isfile
1414
from shutil import copyfile
1515
import sys
16-
from urllib import urlencode
16+
try:
17+
# Python 3
18+
from urllib.parse import urlencode
19+
except ImportError:
20+
# Python 2
21+
from urllib import urlencode
1722

1823
# Third party library imports
1924
from configparser import ConfigParser, NoOptionError, NoSectionError
@@ -32,7 +37,7 @@ if sys.version_info < (3, 0):
3237
# Debug
3338
# from pdb import set_trace as st
3439

35-
VERSION = '%(prog)s 1.4.4'
40+
VERSION = '%(prog)s 1.4.5'
3641

3742
def read_conf(conf_path):
3843
"""

0 commit comments

Comments
 (0)