changed chmod to 2.4 compat

This commit is contained in:
Brian Coca 2015-09-14 09:54:38 -04:00
parent f12a2135ca
commit 81a7243bbb

View file

@ -238,7 +238,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())