Просмотр исходного кода

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

bc Wong 14 лет назад
Родитель
Сommit
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)