equal
deleted
inserted
replaced
111 else: |
111 else: |
112 # If python confnode is not enabled, we reuse _PythonIterator |
112 # If python confnode is not enabled, we reuse _PythonIterator |
113 # as a call that block pythonthread until StopPLC |
113 # as a call that block pythonthread until StopPLC |
114 self.PythonIteratorLock = Lock() |
114 self.PythonIteratorLock = Lock() |
115 self.PythonIteratorLock.acquire() |
115 self.PythonIteratorLock.acquire() |
116 def PythonIterator(res): |
116 def PythonIterator(res, blkid): |
117 self.PythonIteratorLock.acquire() |
117 self.PythonIteratorLock.acquire() |
118 self.PythonIteratorLock.release() |
118 self.PythonIteratorLock.release() |
119 return None |
119 return None |
120 self._PythonIterator = PythonIterator |
120 self._PythonIterator = PythonIterator |
121 |
121 |