salt/utils/find.py: remove raw string formatting

This commit is contained in:
Erik Johnson 2015-08-26 23:26:07 -05:00
parent 7d7089607e
commit f446d462c4

View File

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