diff options
Diffstat (limited to 'module/lib/thrift/Thrift.py')
-rw-r--r-- | module/lib/thrift/Thrift.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/lib/thrift/Thrift.py b/module/lib/thrift/Thrift.py index 1d271fcff..8c270ea28 100644 --- a/module/lib/thrift/Thrift.py +++ b/module/lib/thrift/Thrift.py @@ -74,8 +74,8 @@ class TException(Exception): """Base class for all thrift exceptions.""" - # BaseException.message is deprecated in Python v[2.6,3.0) - if (2,6,0) <= sys.version_info < (3,0): + # BaseException.message is deprecated in Python v[2.6, 3.0) + if (2, 6, 0) <= sys.version_info < (3, 0): def _get_message(self): return self._message def _set_message(self, message): |