mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
salt/utils/find.py: remove raw string formatting
This commit is contained in:
parent
7d7089607e
commit
f446d462c4
@ -158,7 +158,7 @@ def _parse_interval(value):
|
|||||||
'''
|
'''
|
||||||
match = _INTERVAL_REGEX.match(str(value))
|
match = _INTERVAL_REGEX.match(str(value))
|
||||||
if match is None:
|
if match is None:
|
||||||
raise ValueError('invalid time interval: {0!r}'.format(value))
|
raise ValueError('invalid time interval: \'{0}\''.format(value))
|
||||||
|
|
||||||
result = 0
|
result = 0
|
||||||
resolution = None
|
resolution = None
|
||||||
|
Loading…
Reference in New Issue
Block a user