Skip to content

Commit

Permalink
fix: TOOLS-3003 strip/trim semicolon from the asinfo response (#333)
Browse files Browse the repository at this point in the history
* fix: strip/trim semicolon from the asinfo response
  • Loading branch information
a-spiker authored Jan 27, 2025
1 parent 697e83b commit 4e60d41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
with:
submodules: true
- name: Get Python version from Pipfile
run: echo "PYTHON_VERSION=$(grep "python_full_version" Pipfile | cut -d ' ' -f 3 - | tr -d '"')" >> $GITHUB_ENV
run: echo "PYTHON_VERSION=$(grep "python_version" Pipfile | cut -d ' ' -f 3 - | tr -d '"')" >> $GITHUB_ENV
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v3
with:
Expand Down
1 change: 1 addition & 0 deletions lib/view/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -1357,6 +1357,7 @@ def asinfo(results, line_sep, show_node_name, cluster, **mods):
print("\n")
else:
if isinstance(value, str):
value = value.strip(';')
delimiter = util.find_delimiter_in(value)
value = value.split(delimiter)

Expand Down

0 comments on commit 4e60d41

Please sign in to comment.