+ def setup_env(self):
+ '''Setup the environment to work with this repository'''
+ os.chdir(self.local)
+ ssh_set_ident = os.path.join(os.path.dirname(__file__), 'ssh-set-ident.sh')
+ os.putenv('GIT_SSH', ssh_set_ident)
+ ssh_ident = os.path.join(os.path.expanduser('~/.ssh'), self.deploy_key)
+ os.putenv('SSH_IDENT', ssh_ident)
+