# HG changeset patch # User Oben Sonne # Date 1413666528 -7200 # Sat Oct 18 23:08:48 2014 +0200 # Node ID 650192d4e225ea6fc30d3a1eef968e02eb68dd0e # Parent b946b40f74b916b7f13153ab5851486d29e0f11a minor exception logging fix diff --git a/src/deeno/db.py b/src/deeno/db.py --- a/src/deeno/db.py +++ b/src/deeno/db.py @@ -95,7 +95,7 @@ def wrapper(relation, *args, **kwargs): if not relation.pk: raise AttributeError('invoked primary-key-requiring operation %r ' - 'on relation without a primary key') + 'on relation without a primary key' % method.__name__) return method(relation, *args, **kwargs) return wrapper