1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00

Minor commit to make result_stdout_file become empty string.

This commit is contained in:
Luke Sneeringer 2014-10-08 10:48:01 -05:00
parent d325cd4d09
commit ac4bde69cc

View File

@ -523,6 +523,8 @@ class UnifiedJob(PolymorphicModel, PasswordFieldsModel, CommonModelNameNotUnique
try: try:
os.remove(self.result_stdout_file) os.remove(self.result_stdout_file)
self.result_stdout_file = '' self.result_stdout_file = ''
if 'result_stdout_file' not in update_fields:
update_fields.append('result_stdout_file')
except: except:
pass # Meh. We don't care that much. pass # Meh. We don't care that much.