mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 06:30:19 -07:00
introduced with 9e277aabb033b3ec823b4a2db7c0f7e315eaaf0b
This commit is contained in:
parent
04b4ca51c3
commit
4bfffe813b
4 changed files with 5 additions and 5 deletions
|
@ -150,7 +150,7 @@ class CronVar(object):
|
|||
self.lines = f.read().splitlines()
|
||||
f.close()
|
||||
except IOError:
|
||||
e = get_exception
|
||||
e = get_exception()
|
||||
# cron file does not exist
|
||||
return
|
||||
except:
|
||||
|
@ -207,7 +207,7 @@ class CronVar(object):
|
|||
os.unlink(self.cron_file)
|
||||
return True
|
||||
except OSError:
|
||||
e = get_exception
|
||||
e = get_exception()
|
||||
# cron file does not exist
|
||||
return False
|
||||
except:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue