changed chmod to 2.4 compat
This commit is contained in:
parent
f12a2135ca
commit
81a7243bbb
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue