# HG changeset patch
# User Edouard Tisserant
# Date 1351155166 -7200
# Node ID 7e5da4962bea2ca44eb89f3eca94eeb808b53669
# Parent  06495975e8a4034af9dbfdb50ef288150fe9e316
Fix bug of PythonIterator signature in PLCObject when not using PythonLibrary

diff -r 06495975e8a4 -r 7e5da4962bea runtime/PLCObject.py
--- a/runtime/PLCObject.py	Wed Oct 24 11:19:11 2012 +0200
+++ b/runtime/PLCObject.py	Thu Oct 25 10:52:46 2012 +0200
@@ -113,7 +113,7 @@
                 # as a call that block pythonthread until StopPLC 
                 self.PythonIteratorLock = Lock()
                 self.PythonIteratorLock.acquire()
-                def PythonIterator(res):
+                def PythonIterator(res, blkid):
                     self.PythonIteratorLock.acquire()
                     self.PythonIteratorLock.release()
                     return None