Skip to content
This repository has been archived by the owner on Aug 4, 2020. It is now read-only.

Commit

Permalink
Made bundled thrift-gen a subpackage of pycassa.
Browse files Browse the repository at this point in the history
Installing via setup.py should now work. Pycassa will now always use
its bundled thrift-gen code, so having other thrift-generated cassandra
packages on the path should have no effect.
  • Loading branch information
thobbs committed Sep 2, 2010
1 parent fc796dc commit 77f1fc0
Show file tree
Hide file tree
Showing 15 changed files with 8,107 additions and 8,118 deletions.
5 changes: 3 additions & 2 deletions pycassa/__init__.py
Expand Up @@ -4,5 +4,6 @@
from pycassa.connection import *
from pycassa.index import *

from cassandra.ttypes import ConsistencyLevel, InvalidRequestException, \
NotFoundException, UnavailableException, TimedOutException
from pycassa.cassandra.ttypes import ConsistencyLevel,\
InvalidRequestException, NotFoundException, UnavailableException,\
TimedOutException
5 changes: 3 additions & 2 deletions pycassa/batch.py
@@ -1,6 +1,7 @@
import threading
from cassandra.ttypes import (Clock, Column, ColumnOrSuperColumn, ConsistencyLevel,
Deletion, Mutation, SlicePredicate, SuperColumn)
from pycassa.cassandra.ttypes import (Clock, Column, ColumnOrSuperColumn,
ConsistencyLevel, Deletion, Mutation,
SlicePredicate, SuperColumn)


class Mutator(object):
Expand Down

0 comments on commit 77f1fc0

Please sign in to comment.