Преглед изворни кода

HUE-556. LifoQueue thrift_util.py doesn't work on Centos5's python 2.4

bc Wong пре 14 година
родитељ
комит
630e395110
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      desktop/core/src/desktop/lib/thrift_util.py

+ 1 - 0
desktop/core/src/desktop/lib/thrift_util.py

@@ -53,6 +53,7 @@ class LifoQueue(Queue.Queue):
 
     def _init(self, maxsize):
         self.queue = []
+        self.maxsize = maxsize
 
     def _qsize(self, len=len):
         return len(self.queue)