mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
okay, what the hell?
This commit is contained in:
@@ -151,11 +151,11 @@ def install_jobs(module, user, tmpfile, cron_file):
|
||||
try:
|
||||
module.atomic_replace(dest_tmp, cron_file)
|
||||
except (OSError, IOError), e:
|
||||
return (1, "", str(e))
|
||||
return (0, "", str(e))
|
||||
except:
|
||||
return (1, "", str(e))
|
||||
return (0, "", str(e))
|
||||
else:
|
||||
return (0, "", "")
|
||||
return (1, "", "")
|
||||
|
||||
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user