semicolon following keyspace CQL in export_as_string

This commit is contained in:
Adam Holmberg
2015-10-15 09:26:08 -05:00
parent 3b228cb73a
commit 30f2a2a895

View File

@@ -633,7 +633,7 @@ class KeyspaceMetadata(object):
Returns a CQL query string that can be used to recreate the entire keyspace,
including user-defined types and tables.
"""
cql = "\n\n".join([self.as_cql_query()]
cql = "\n\n".join([self.as_cql_query() + ';']
+ self.user_type_strings()
+ [f.export_as_string() for f in self.functions.values()]
+ [a.export_as_string() for a in self.aggregates.values()]