refactoring

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
Nico Schottelius 2013-08-19 01:38:28 +02:00
commit d1708c78b6
5 changed files with 52 additions and 42 deletions

View file

@ -60,8 +60,10 @@ class Remote(object):
self._init_env()
def _init_env(self):
os.environ['__remote_copy'] = self.remote_copy
os.environ['__remote_exec'] = self.remote_exec
"""Setup environment for scripts - HERE????"""
# FIXME: better do so in exec functions that require it!
os.environ['__remote_copy'] = self._copy
os.environ['__remote_exec'] = self._exec
def create_files_dirs(self):