You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by de...@apache.org on 2018/10/01 20:19:22 UTC
svn commit: r1842561 - /uima/uima-ducc/trunk/src/main/admin/stop_ducc
Author: degenaro
Date: Mon Oct 1 20:19:22 2018
New Revision: 1842561
URL: http://svn.apache.org/viewvc?rev=1842561&view=rev
Log:
UIMA-5742 Reliable DUCC - fix UnboundLocalError: local variable 'process' referenced before assignment
Modified:
uima/uima-ducc/trunk/src/main/admin/stop_ducc
Modified: uima/uima-ducc/trunk/src/main/admin/stop_ducc
URL: http://svn.apache.org/viewvc/uima/uima-ducc/trunk/src/main/admin/stop_ducc?rev=1842561&r1=1842560&r2=1842561&view=diff
==============================================================================
--- uima/uima-ducc/trunk/src/main/admin/stop_ducc (original)
+++ uima/uima-ducc/trunk/src/main/admin/stop_ducc Mon Oct 1 20:19:22 2018
@@ -451,8 +451,8 @@ class StopDucc(DuccUtil):
pfx = 'kill'+' '+'daemon='+str(count)+' '+'thread='+str(tid)+' '+'node='+node+' '+'component='+component+' '
msg = pfx+state
output(msg)
+ process=''
if(ssh):
- process=''
state='state=success'
status, tuples = self.find_ducc_process(node)
if(status):