6 lines
		
	
	
	
		
			269 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
	
		
			269 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from bundlewrap.exceptions import SkipNode
 | 
						|
 | 
						|
def node_apply_start(repo, node, interactive, **kwargs):
 | 
						|
    if node.hostname == 'localhost':
 | 
						|
        if node.metadata.get('id') != repo.libs.local.id():
 | 
						|
            raise SkipNode('bw is not currently running on this node')
 |