summaryrefslogtreecommitdiffstats
path: root/module/lib/thrift/Thrift.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-04-10 13:37:02 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-06-28 02:51:58 +0200
commit2ff2fb0495febe11d5015d2308d67e1d8048e597 (patch)
tree2ae9d1da4a701fc6b3945ccc32dfbbf102b9c85a /module/lib/thrift/Thrift.py
parentLocalization badge (diff)
downloadpyload-2ff2fb0495febe11d5015d2308d67e1d8048e597.tar.xz
Some code cosmetics about commas, spaces and quotes
Merges #577
Diffstat (limited to 'module/lib/thrift/Thrift.py')
-rw-r--r--module/lib/thrift/Thrift.py4
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):