[fiona] 02/06: New upstream version 1.7.8
Bas Couwenberg
sebastic at debian.org
Mon Jun 26 18:42:41 UTC 2017
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository fiona.
commit d4a4f919e3a04941fd3e76aee6df25fb67d1f2c7
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Mon Jun 26 20:24:07 2017 +0200
New upstream version 1.7.8
---
CHANGES.txt | 9 ++++++++-
fiona/__init__.py | 2 +-
fiona/_err.pyx | 4 ++--
3 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/CHANGES.txt b/CHANGES.txt
index e8e1ce1..efadc40 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -3,7 +3,14 @@ Changes
All issue numbers are relative to https://github.com/Toblerity/Fiona/issues.
-Next (2017-)
+1.7.8 (2017-06-20)
+------------------
+
+Bug fixes:
+
+- Provide all arguments needed by CPLError based exceptions (#456).
+
+1.7.7 (2017-06-05)
------------------
Bug fixes:
diff --git a/fiona/__init__.py b/fiona/__init__.py
index 6147e27..5909eba 100644
--- a/fiona/__init__.py
+++ b/fiona/__init__.py
@@ -81,7 +81,7 @@ import uuid
__all__ = ['bounds', 'listlayers', 'open', 'prop_type', 'prop_width']
-__version__ = "1.7.7"
+__version__ = "1.7.8"
__gdal_version__ = get_gdal_release_name().decode('utf-8')
log = logging.getLogger(__name__)
diff --git a/fiona/_err.pyx b/fiona/_err.pyx
index c311e4c..d479028 100644
--- a/fiona/_err.pyx
+++ b/fiona/_err.pyx
@@ -182,7 +182,7 @@ cdef class GDALErrCtxManager:
cdef const char *msg = CPLGetLastErrorMsg()
# TODO: warn for err_type 2?
if err_type >= 2:
- raise exception_map[err_no](msg)
+ raise exception_map[err_no](err_type, err_no, msg)
cdef inline object exc_check():
@@ -230,4 +230,4 @@ cdef void *exc_wrap_pointer(void *ptr) except NULL:
return NULL
return ptr
-cpl_errs = GDALErrCtxManager()
\ No newline at end of file
+cpl_errs = GDALErrCtxManager()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/fiona.git
More information about the Pkg-grass-devel
mailing list