diff options
Diffstat (limited to 'rpkid/rpki/sql.py')
-rw-r--r-- | rpkid/rpki/sql.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpkid/rpki/sql.py b/rpkid/rpki/sql.py index 25c2c21e..b161451e 100644 --- a/rpkid/rpki/sql.py +++ b/rpkid/rpki/sql.py @@ -175,8 +175,8 @@ class sql_persistent(object): return results[0] else: raise rpki.exceptions.DBConsistancyError, \ - "Database contained multiple matches for %s where %s" % \ - (cls.__name__, where % tuple(repr(a) for a in args)) + "Database contained multiple matches for %s where %s: %r" % \ + (cls.__name__, where % tuple(repr(a) for a in args), results) @classmethod def sql_fetch_all(cls, gctx): |