File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -325,7 +325,7 @@ def create_retention_policy(
325
325
query_string = \
326
326
"CREATE RETENTION POLICY %s ON %s " \
327
327
"DURATION %s REPLICATION %s" % \
328
- (name , database or self ._database , duration , replication )
328
+ (name , ( database or self ._database ) , duration , replication )
329
329
330
330
if default is True :
331
331
query_string += " DEFAULT"
@@ -337,14 +337,14 @@ def get_list_retention_policies(self, database=None):
337
337
Get the list of retention policies
338
338
"""
339
339
return self .query (
340
- "SHOW RETENTION POLICIES %s" % database or self ._database
340
+ "SHOW RETENTION POLICIES %s" % ( database or self ._database )
341
341
)
342
342
343
343
def get_list_series (self , database = None ):
344
344
"""
345
345
Get the list of series
346
346
"""
347
- return self .query ("SHOW SERIES" , database = database or self ._database )
347
+ return self .query ("SHOW SERIES" , database = ( database or self ._database ) )
348
348
349
349
def get_list_users (self ):
350
350
"""
You can’t perform that action at this time.
0 commit comments