summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMarko Kreen2010-11-26 10:04:07 +0000
committerMarko Kreen2010-11-26 10:04:07 +0000
commit07b4bd97f18ed88b0d9b7458437a38ab857c2d27 (patch)
tree7dbe820e74c5b47adc87f52c0a0c87938374c81e /python
parent8901ff7ed90ac78ae5a308aeb381e8aa470e15fd (diff)
londiste add-table --create: fix flag handling
Diffstat (limited to 'python')
-rw-r--r--python/londiste/setup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/londiste/setup.py b/python/londiste/setup.py
index 5483642f..48335867 100644
--- a/python/londiste/setup.py
+++ b/python/londiste/setup.py
@@ -125,12 +125,12 @@ class LondisteSetup(CascadeAdmin):
"full": skytools.T_ALL,
"pkey": skytools.T_PKEY,
}
- create_flags = 0
+ create_flags = skytools.T_TABLE
if create:
for f in create.split(','):
if f not in fmap:
raise Exception("bad --create-only flag: " + f)
- create_flags += fmap[f]
+ create_flags |= fmap[f]
# seems ok
for tbl in args: