Skip to content

Commit

Permalink
fix example code in Getting a ColumnFamily
Browse files Browse the repository at this point in the history
the "pycassa" module is neither imported nor needed
  • Loading branch information
termie committed Mar 12, 2013
1 parent 89585ae commit b620b80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ are included in the default schema file:
>>> from pycassa.columnfamily import ColumnFamily
>>>
>>> pool = ConnectionPool('Keyspace1')
>>> col_fam = pycassa.ColumnFamily(pool, 'ColumnFamily1')
>>> col_fam = ColumnFamily(pool, 'ColumnFamily1')
If you get an error about the keyspace or column family not
existing, make sure you created the keyspace and column family as
Expand Down

0 comments on commit b620b80

Please sign in to comment.