From 21507c5dbb486a3e36721a4b51e82e48fdce5427 Mon Sep 17 00:00:00 2001
From: "patrick.godwin" <patrick.godwin@ligo.org>
Date: Thu, 4 Nov 2021 11:33:35 -0400
Subject: [PATCH] segments.py: fix type annotation return in
 split_srgments_by_lock, remove unused variable in query_dqsegdb_veto_segments

---
 gstlal/python/segments.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gstlal/python/segments.py b/gstlal/python/segments.py
index c4632332e0..7c733dd758 100644
--- a/gstlal/python/segments.py
+++ b/gstlal/python/segments.py
@@ -115,7 +115,6 @@ def query_dqsegdb_veto_segments(
 		segmentlistdict, the queried veto segments
 
 	"""
-	span = segments.segment(LIGOTimeGPS(start), LIGOTimeGPS(end))
 	if isinstance(instruments, str):
 		instruments = [instruments]
 
@@ -312,7 +311,7 @@ def split_segments_by_lock(
 	seglistdicts: segments.segmentlistdict,
 	boundary_seg: segments.segment,
 	max_time: float = 10 * 24 * 3600.,
-) -> segments.segmentlistdict:
+) -> segments.segmentlist:
 	"""Split segments into segments with maximum time and boundaries outside of lock stretches.
 
 	"""
-- 
GitLab