changed chmod to 2.4 compat

reviewable/pr18780/r1
Brian Coca 9 years ago
parent f12a2135ca
commit 81a7243bbb

@ -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())

Loading…
Cancel
Save