From 99159b3cddf3722cedc79c04031167ced25d199e Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Mon, 14 Sep 2015 09:54:38 -0400 Subject: [PATCH] changed chmod to 2.4 compat --- lib/ansible/modules/system/cron.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/system/cron.py b/lib/ansible/modules/system/cron.py index 4673742b616..0c4fce3373f 100644 --- a/lib/ansible/modules/system/cron.py +++ b/lib/ansible/modules/system/cron.py @@ -235,7 +235,7 @@ class CronTab(object): fileh = open(self.cron_file, 'w') else: filed, path = tempfile.mkstemp(prefix='crontab') - os.chmod(path, 0o644) + os.chmod(path, 0644) fileh = os.fdopen(filed, 'w') fileh.write(self.render())