Permalink
Browse files

had to change the create_keyspace call to match pycassa v1.3.0

  • Loading branch information...
damon1977 committed Nov 10, 2011
1 parent aba8945 commit 675443f02889c21ac3207389f2eca4567a9280c7
Showing with 1 addition and 1 deletion.
  1. +1 −1 tweets/management/commands/sync_cassandra.py
@@ -20,7 +20,7 @@ def handle_noargs(self, **options):
return
sys.drop_keyspace('Twissandra')
- sys.create_keyspace('Twissandra', replication_factor=1)
+ sys.create_keyspace('Twissandra', SIMPLE_STRATEGY, {'replication_factor': '1'})
sys.create_column_family('Twissandra', 'User', comparator_type=UTF8_TYPE)
sys.create_column_family('Twissandra', 'Friends', comparator_type=BYTES_TYPE)
sys.create_column_family('Twissandra', 'Followers', comparator_type=BYTES_TYPE)

0 comments on commit 675443f

Please sign in to comment.