Skip to content

Commit 1514410

Browse files
committed
remove unnecessary inline comprehension
1 parent 72faad3 commit 1514410

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sigmf/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# SPDX-License-Identifier: LGPL-3.0-or-later
66

77
# version of this python module
8-
__version__ = "1.2.3"
8+
__version__ = "1.2.4"
99
# matching version of the SigMF specification
1010
__specification__ = "1.2.0"
1111

sigmf/sigmffile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ def get_captures(self):
340340
"""
341341
Returns a list of dictionaries representing all captures.
342342
"""
343-
return [x for x in self._metadata.get(self.CAPTURE_KEY, [])]
343+
return self._metadata.get(self.CAPTURE_KEY, [])
344344

345345
def get_capture_info(self, index):
346346
"""

0 commit comments

Comments
 (0)