return the correct response tryin to re-create a table

This commit is contained in:
Michael 2015-09-10 11:31:46 +02:00
commit 31d30c8ea4
2 changed files with 8 additions and 1 deletions

View file

@ -336,6 +336,8 @@ class DynamoDBBackend(BaseBackend):
self.tables = OrderedDict()
def create_table(self, name, **params):
if name in self.tables:
return None
table = Table(name, **params)
self.tables[name] = table
return table