aboutsummaryrefslogtreecommitdiff
path: root/rpki/sql.py
diff options
context:
space:
mode:
Diffstat (limited to 'rpki/sql.py')
-rw-r--r--rpki/sql.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/rpki/sql.py b/rpki/sql.py
index 536ebbe2..adcc78f6 100644
--- a/rpki/sql.py
+++ b/rpki/sql.py
@@ -226,9 +226,9 @@ class sql_persistent(object):
elif len(results) == 1:
return results[0]
else:
- raise rpki.exceptions.DBConsistancyError, \
- "Database contained multiple matches for %s where %s: %r" % \
- (cls.__name__, where % tuple(repr(a) for a in args), results)
+ raise rpki.exceptions.DBConsistancyError(
+ "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):