diff options
author | Marko Kreen | 2011-08-30 11:28:55 +0000 |
---|---|---|
committer | Marko Kreen | 2011-08-30 11:28:55 +0000 |
commit | 81f2e836b1f55f88d1c779a74d375d7b930618ea (patch) | |
tree | 2c63488a6c7466f250b1f46154f4b94844c5a87f | |
parent | 24c02c812349d76541703149ca8427bf34a32b4c (diff) |
londiste.handlers.bulk: fix real table creation
-rw-r--r-- | python/londiste/handlers/bulk.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/python/londiste/handlers/bulk.py b/python/londiste/handlers/bulk.py index a9d0d3f6..691acba2 100644 --- a/python/londiste/handlers/bulk.py +++ b/python/londiste/handlers/bulk.py @@ -315,10 +315,9 @@ class BulkLoader(BaseHandler): return tempname, quote_fqident(tempname) # create non-temp table - q = "create table %s (like %s) %s" % ( + q = "create table %s (like %s)" % ( quote_fqident(tempname), - quote_fqident(self.table_name), - arg) + quote_fqident(self.table_name)) self.log.debug("bulk: Creating real table: %s" % q) curs.execute(q) return tempname, quote_fqident(tempname) |