Skip to content

Commit 79efe97

Browse files
committed
Remove list prepend warning from cqlengine.statements
1 parent 9d98c8e commit 79efe97

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

cassandra/cqlengine/statements.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,13 @@
1313
# limitations under the License.
1414

1515
from datetime import datetime, timedelta
16-
import logging
1716
import time
1817
import six
19-
import warnings
2018

2119
from cassandra.cqlengine import UnicodeMixin
2220
from cassandra.cqlengine.functions import QueryValue
2321
from cassandra.cqlengine.operators import BaseWhereOperator, InOperator
2422

25-
log = logging.getLogger(__name__)
26-
2723

2824
class StatementException(Exception):
2925
pass
@@ -295,11 +291,6 @@ def update_context(self, ctx):
295291
ctx[str(ctx_id)] = self._to_database(self._assignments)
296292
ctx_id += 1
297293
if self._prepend is not None:
298-
msg = "Previous versions of cqlengine implicitly reversed prepended lists to account for CASSANDRA-8733. " \
299-
"THIS VERSION DOES NOT. This warning will be removed in a future release."
300-
warnings.warn(msg)
301-
log.warning(msg)
302-
303294
ctx[str(ctx_id)] = self._to_database(self._prepend)
304295
ctx_id += 1
305296
if self._append is not None:

0 commit comments

Comments
 (0)