~unity-2d-team/unity-2d/Shell-MultiMonitor

« back to all changes in this revision

Viewing changes to grackle/model.py

  • Committer: William Grant
  • Date: 2012-04-20 02:21:11 UTC
  • Revision ID: william.grant@canonical.com-20120420022111-j088wyca1r84w0r1
Unbreak create_keyspace with new pycassa.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
    mgr = SystemManager(host)
39
39
 
40
40
    if create_keyspace:
41
 
        mgr.create_keyspace(keyspace, replication_factor=1)
 
41
        mgr.create_keyspace(
 
42
            keyspace, strategy_options={'replication_factor': '1'})
42
43
 
43
44
    if clobber:
44
45
        for cf in mgr.get_keyspace_column_families(keyspace):