--os.environ
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								8543f3ed58
							
						
					
				
			
			
				commit
				
					
						dc9092dbef
					
				
			
		
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
					@ -20,7 +20,6 @@
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import logging
 | 
					import logging
 | 
				
			||||||
import os
 | 
					 | 
				
			||||||
import subprocess
 | 
					import subprocess
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import cdist
 | 
					import cdist
 | 
				
			||||||
| 
						 | 
					@ -44,7 +43,7 @@ class Wrapper(object):
 | 
				
			||||||
    def transfer_path(self, source, destination):
 | 
					    def transfer_path(self, source, destination):
 | 
				
			||||||
        """Transfer directory and previously delete the remote destination"""
 | 
					        """Transfer directory and previously delete the remote destination"""
 | 
				
			||||||
        self.remove_remote_path(destination)
 | 
					        self.remove_remote_path(destination)
 | 
				
			||||||
        self.run_or_fail(os.environ['__remote_copy'].split() +
 | 
					        self.run_or_fail(self.remote_copy.split() +
 | 
				
			||||||
            ["-r", source, self.target_host + ":" + destination])
 | 
					            ["-r", source, self.target_host + ":" + destination])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def shell_run_or_debug_fail(self, script, *args, remote=False, **kargs):
 | 
					    def shell_run_or_debug_fail(self, script, *args, remote=False, **kargs):
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue