Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix for query-endpoints to handle no line number filtering. #44

Merged
merged 1 commit into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion atom_tools/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""
A cli, classes and functions for converting an atom slice to a different format
"""
__version__ = '0.5.0'
__version__ = '0.5.1'
2 changes: 1 addition & 1 deletion atom_tools/lib/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def output_endpoints(data: Dict, names_only: bool, line_range: Tuple[int, int] |
continue
for k, v in usages.items():
for i in v:
if line_range[0] <= i <= line_range[1]:
if not line_range or line_range[0] <= i <= line_range[1]:
to_print += f':{k}:{i}'
break
to_print += '\n'
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "atom-tools"
version = "0.5.0"
version = "0.5.1"
description = "Collection of tools for use with AppThreat/atom."
authors = [
{ name = "Caroline Russell", email = "[email protected]" },
Expand Down
Loading