Removed extra f-strings (#196)

This commit is contained in:
Nikita Grishko
2018-06-11 12:12:41 +02:00
committed by Samuel Colvin
parent 3ef595556c
commit 10be4dc0bc
+2 -2
View File
@@ -180,9 +180,9 @@ class ConstrainedNumberMeta(type):
new_cls = type.__new__(cls, name, bases, dct)
if new_cls.gt is not None and new_cls.ge is not None:
raise errors.ConfigError(f'Bounds gt and ge cannot be specified at the same time.')
raise errors.ConfigError('bounds gt and ge cannot be specified at the same time')
if new_cls.lt is not None and new_cls.le is not None:
raise errors.ConfigError(f'Bounds lt and le cannot be specified at the same time.')
raise errors.ConfigError('bounds lt and le cannot be specified at the same time')
return new_cls