cli/list-series-locks: drop use of the deprecated `apimaker`
1 files changed, 2 insertions(+), 2 deletions(-)

M tshistory_refinery/cli.py
M tshistory_refinery/cli.py +2 -2
@@ 6,8 6,8 @@ from sqlhelp import sqlfile
 
 from rework.helper import host
 from rework import api
+from tshistory.api import timeseries
 from tshistory.util import find_dburi
-from tshistory_refinery.helper import config, apimaker
 from tshistory_refinery.schema import refinery_schema
 from tshistory_refinery import cache
 

          
@@ 64,7 64,7 @@ def list_series_locks(db_uri, policy_nam
     dburi = find_dburi(db_uri)
     engine = create_engine(dburi)
 
-    tsa = apimaker(config())
+    tsa = timeseries()
     print('Series having a lock, per policy')
 
     if policy_name: