Fixed error message on range parsing failed

This commit is contained in:
Daniele Varrazzo 2014-02-19 01:03:01 +00:00
parent 9ac01d060d
commit 434fbb02b1

View File

@ -356,7 +356,7 @@ where typname = %s and ns.nspname = %s;
m = self._re_range.match(s)
if m is None:
raise InterfaceError("failed to parse range: %s")
raise InterfaceError("failed to parse range: '%s'" % s)
lower = m.group(3)
if lower is None: