Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 675443f02889c21ac3207389f2eca4567a9280c7 1 parent aba8945
@damon1977 damon1977 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tweets/management/commands/sync_cassandra.py
View
2  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)
Please sign in to comment.
Something went wrong with that request. Please try again.