Skip to content

Commit

Permalink
- Bump to version 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
afabiani committed May 20, 2020
1 parent 1f7dcfd commit 6154c5f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gsimporter/_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def shp_files(fpath):

def create_zip(fpaths):
_, payload = tempfile.mkstemp(suffix='.zip')
zipf = ZipFile(payload, "w")
zipf = ZipFile(payload, "w", allowZip64=True)
for fp in fpaths:
basename = path.basename(fp)
zipf.write(fp, basename)
Expand Down
2 changes: 1 addition & 1 deletion gsimporter/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def post_multipart(self, url, files, fields=[]):
try:
if isinstance(fpair, string_types):
fpair = (fpair, fpair)
except BaseException:
except Exception:
if isinstance(fpair, str):
fpair = (fpair, fpair)
key = fpair[0]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


setup(name = "gn_gsimporter",
version = "2.0.0",
version = "2.0.1",
description = "GeoNode GeoServer Importer Client",
keywords = "GeoNode GeoServer Importer",
license = "MIT",
Expand Down

0 comments on commit 6154c5f

Please sign in to comment.