londiste.handlers.dispatch: USE_REAL_TABLE is not under self.
authorMarko Kreen <markokr@gmail.com>
Sun, 18 Sep 2011 20:20:56 +0000 (23:20 +0300)
committerMarko Kreen <markokr@gmail.com>
Sun, 18 Sep 2011 20:20:56 +0000 (23:20 +0300)
python/londiste/handlers/dispatch.py

index 021055120d8a97d530f32aa420c22298161a7eb3..71c9655c83223676b5d22288316d02f779515670 100644 (file)
@@ -345,7 +345,7 @@ class BaseBulkTempLoader(BaseBulkCollectingLoader):
         return self.logexec(curs, "drop table %s" % self.qtemp)
 
     def create(self, curs):
-        if self.USE_REAL_TABLE:
+        if USE_REAL_TABLE:
             tmpl = "create table %s (like %s)"
         else:
             tmpl = "create temp table %s (like %s) on commit preserve rows"