okay, what the hell?

This commit is contained in:
Seth Vidal 2013-04-16 18:22:15 +00:00
parent 23a84595fe
commit 38983bf892

View file

@ -151,11 +151,11 @@ def install_jobs(module, user, tmpfile, cron_file):
try: try:
module.atomic_replace(dest_tmp, cron_file) module.atomic_replace(dest_tmp, cron_file)
except (OSError, IOError), e: except (OSError, IOError), e:
return (1, "", str(e)) return (0, "", str(e))
except: except:
return (1, "", str(e)) return (0, "", str(e))
else: else:
return (0, "", "") return (1, "", "")
else: else: