Skip to content

Commit

Permalink
Fix wrong brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
giffels committed Nov 28, 2023
1 parent a6db756 commit 631fec5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ ubdsv <[email protected]>
Rene Caspart <[email protected]>
Leon Schuhmacher <[email protected]>
R. Florian von Cube <[email protected]>
mschnepf <[email protected]>
Benjamin Rottler <[email protected]>
mschnepf <[email protected]>
Alexander Haas <[email protected]>
mschnepf <[email protected]>
Dirk Sammel <[email protected]>
Expand Down
4 changes: 2 additions & 2 deletions docs/source/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
.. Created by changelog.py at 2023-11-25, command
.. Created by changelog.py at 2023-11-28, command
'/Users/giffler/.cache/pre-commit/repor6pnmwlm/py_env-python3.10/bin/changelog docs/source/changes compile --categories Added Changed Fixed Security Deprecated --output=docs/source/changelog.rst'
based on the format of 'https://keepachangelog.com/'
#########
CHANGELOG
#########

[Unreleased] - 2023-11-25
[Unreleased] - 2023-11-28
=========================

Changed
Expand Down
4 changes: 2 additions & 2 deletions tardis/adapters/sites/moab.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
async def showq(
*resource_attributes: Tuple[AttributeDict, ...], executor: Executor
) -> Iterable[Mapping]:
showq_active_cmd = "showq --xml -w user=$(USER)"
showq_completed_cmd = "showq -c --xml -w user=$(USER)"
showq_active_cmd = "showq --xml -w user=${USER}"
showq_completed_cmd = "showq -c --xml -w user=${USER}"
logger.debug("Moab status update is running.")
combined_response_stdout = ""
for cmd in (showq_active_cmd, showq_completed_cmd):
Expand Down
4 changes: 2 additions & 2 deletions tests/adapters_t/sites_t/test_moab.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@ def test_resource_state_translation(self):

self.mock_executor.return_value.run_command.assert_has_calls(
[
call("showq --xml -w user=$(USER)"),
call("showq -c --xml -w user=$(USER)"),
call("showq --xml -w user=${USER}"),
call("showq -c --xml -w user=${USER}"),
]
)
self.mock_executor.reset_mock()
Expand Down

0 comments on commit 631fec5

Please sign in to comment.