Fixed error message on range parsing failed

This commit is contained in:
Daniele Varrazzo 2014-02-19 01:03:01 +00:00
parent 6192a4fb17
commit dd9e476353

View File

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