[Gug-cvs] gug/gug/service/exec exec.py,1.55,1.56
Status: Planning
Brought to you by:
szferi
From: Roczei G. <ro...@us...> - 2007-09-19 10:45:25
|
Update of /cvsroot/gug/gug/gug/service/exec In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv19382 Modified Files: exec.py Log Message: bugfix: UnboundLocalError: local variable 'proc' referenced before assignment Index: exec.py =================================================================== RCS file: /cvsroot/gug/gug/gug/service/exec/exec.py,v retrieving revision 1.55 retrieving revision 1.56 diff -C2 -d -r1.55 -r1.56 *** exec.py 13 May 2007 21:54:28 -0000 1.55 --- exec.py 19 Sep 2007 10:45:21 -0000 1.56 *************** *** 143,148 **** log.error() ! while proc == None: ! time.sleep(1) self.my_exec.pool[self.poolid].proc = proc --- 143,154 ---- log.error() ! while True: ! try: ! #bugfix: UnboundLocalError: local variable 'proc' referenced before assignment ! if proc == None: ! time.sleep(1) ! break ! except: ! continue self.my_exec.pool[self.poolid].proc = proc |