human
Solve the following python programming problem given the following code:
def _do_job(self, hook_call) : 
    @ contextlib.contextmanager 
    def create_temp_dir() : 
        working_dir = tempfile.mktemp () 
        shutil.copytree (self.working_dir, working_dir) 
        (yield working_dir) 
        shutil.rmtree (working_dir) 
with SessionScope (self.db) : 
        with mock.patch.object (Build, 'set_status'), mock.patch.object (DeployKey, 'ensure') as ensure_deploy_key_mock, mock.patch.object (Job, 'get_cache_id', return_value = 'qwerty'), mock.patch ('kozmic.builds.tasks.create_temp_dir', hook_call) : 
            kozmic.builds.tasks.do_job (hook_call_id = hook_call.id) 
self.db.session.rollback () 
    if hook_call.hook.project.is_public : 
        assert (not ensure_deploy_key_mock.called) 
return Job.query.filter_by (hook_call = hook_call).first () 

    
    

    Fix the buggy line: with mock.patch.object (Build, 'set_status'), mock.patch.object (DeployKey, 'ensure') as ensure_deploy_key_mock, mock.patch.object (Job, 'get_cache_id', return_value = 'qwerty'), mock.patch ('kozmic.builds.tasks.create_temp_dir', hook_call) :
assistant
#Here is Python code to fix the buggy line: with mock.

with mock.patch.object (Build, 'set_status'), mock.patch.object (DeployKey, 'ensure') as ensure_deploy_key_mock, mock.patch.object (Job, 'get_cache_id', return_value = 'qwerty'), mock.patch ('kozmic.builds.tasks.create_temp_dir', def create_temp_dir() :