We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49165be commit cb3156cCopy full SHA for cb3156c
influxdb/helper.py
@@ -82,7 +82,7 @@ def __new__(cls, *args, **kwargs):
82
allowed_time_precisions = ['h', 'm', 's', 'ms', 'u', 'ns', None]
83
if cls._time_precision not in allowed_time_precisions:
84
raise AttributeError(
85
- 'In {0}, time_precision is set, but invalid use any of {1}.'
+ 'In {}, time_precision is set, but invalid use any of {}.'
86
.format(cls.__name__, ','.join(allowed_time_precisions)))
87
88
cls._retention_policy = getattr(_meta, 'retention_policy', None)
0 commit comments