Skip to content

Commit 75c5d6b

Browse files
author
Susannah Klaneček
committed
Use thriftpy2
1 parent 59050bf commit 75c5d6b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

frontera/contrib/backends/hbase/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from __future__ import absolute_import
22
from happybase import Batch
33

4-
from thriftpy.transport import TTransportException
4+
from thriftpy2.transport import TTransportException
55
import logging
66

77

@@ -19,4 +19,4 @@ def send(self):
1919
self.logger.exception("Exception happened during batch persistence")
2020
self.logger.warning("Cleaning up the batch")
2121
self._reset_mutations()
22-
pass
22+
pass

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
install_requires=[
4343
'six>=1.8.0',
4444
'w3lib>=1.15.0',
45-
'cityhash>=0.1.7'
45+
'cityhash>=0.1.7',
46+
'thriftpy2'
4647
],
4748
extras_require={
4849
'sql': [

0 commit comments

Comments
 (0)