From a001257c55372571e133fbaa56f5585d9eddb345 Mon Sep 17 00:00:00 2001 From: Adam Holmberg Date: Fri, 11 Dec 2015 09:00:43 -0600 Subject: [PATCH] cqle: correct exception message for INE with counters PYTHON-453 --- cassandra/cqlengine/query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cassandra/cqlengine/query.py b/cassandra/cqlengine/query.py index 19b06552..fb7af381 100644 --- a/cassandra/cqlengine/query.py +++ b/cassandra/cqlengine/query.py @@ -868,7 +868,7 @@ class ModelQuerySet(AbstractQuerySet): def if_not_exists(self): if self.model._has_counter: - raise IfNotExistsWithCounterColumn('if_not_exists cannot be used with tables containing columns') + raise IfNotExistsWithCounterColumn('if_not_exists cannot be used with tables containing counter columns') clone = copy.deepcopy(self) clone._if_not_exists = True return clone