Browse Source

overzealous code fix removed

Piotr Maślanka 9 years ago
parent
commit
6d4bc35d00
1 changed files with 1 additions and 1 deletions
  1. 1 1
      celery/backends/new_cassandra.py

+ 1 - 1
celery/backends/new_cassandra.py

@@ -105,7 +105,7 @@ class NewCassandraBackend(BaseBackend):
             # We are forced to do concatenation below, as formatting would
             # blow up on superficial %s that will be processed by Cassandra
             self._write_stmt = cassandra.query.SimpleStatement(
-                'INSERT INTO %s (task_id, status, result,'''
+                'INSERT INTO '+self.table+''' (task_id, status, result,'''
                 ''' date_done, traceback, children) VALUES'''
                 ' (%s, %s, %s, %s, %s, %s) '+self.cqlexpires+';')
             self._write_stmt.consistency_level = self.write_consistency