File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -200,13 +200,17 @@ def async_cmd_check(self):
200200        """ 
201201        if  self .async_cmd_info  is  None :
202202            raise  EasyBuildError ("No installation command running asynchronously for %s" , self .name )
203+         elif  self .async_cmd_info  is  False :
204+             self .log .info ("No asynchronous command was started for extension %s" , self .name )
205+             return  True 
203206        else :
204207            self .log .debug ("Checking on installation of extension %s..." , self .name )
205208            # use small read size, to avoid waiting for a long time until sufficient output is produced 
206209            res  =  check_async_cmd (* self .async_cmd_info , output_read_size = self .async_cmd_read_size )
207210            self .async_cmd_output  +=  res ['output' ]
208211            if  res ['done' ]:
209212                self .log .info ("Installation of extension %s completed!" , self .name )
213+                 self .async_cmd_info  =  None 
210214            else :
211215                self .async_cmd_check_cnt  +=  1 
212216                self .log .debug ("Installation of extension %s still running (checked %d times)" ,
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments