mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Fixing a lint issue. Invalid syntax.
This commit is contained in:
parent
5e15c28dfa
commit
e018e2b9cd
@ -1092,7 +1092,7 @@ def skip_job(name, current_time, **kwargs):
|
||||
# Validate date string
|
||||
try:
|
||||
datetime.datetime.strptime(current_time,
|
||||
'%Y-%m-%dT%H:%M:%S'))
|
||||
'%Y-%m-%dT%H:%M:%S')
|
||||
except (TypeError, ValueError):
|
||||
log.error('Date string could not be parsed: %s, %s',
|
||||
current_time, time_fmt)
|
||||
|
Loading…
Reference in New Issue
Block a user