Skip to content

Commit

Permalink
Use thriftpy2
Browse files Browse the repository at this point in the history
  • Loading branch information
Susannah Klaneček committed Oct 23, 2019
1 parent 59050bf commit 75c5d6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions frontera/contrib/backends/hbase/utils.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import absolute_import
from happybase import Batch

from thriftpy.transport import TTransportException
from thriftpy2.transport import TTransportException
import logging


Expand All @@ -19,4 +19,4 @@ def send(self):
self.logger.exception("Exception happened during batch persistence")
self.logger.warning("Cleaning up the batch")
self._reset_mutations()
pass
pass
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
install_requires=[
'six>=1.8.0',
'w3lib>=1.15.0',
'cityhash>=0.1.7'
'cityhash>=0.1.7',
'thriftpy2'
],
extras_require={
'sql': [
Expand Down

0 comments on commit 75c5d6b

Please sign in to comment.