Skip to content
Snippets Groups Projects
Commit 6194e8dd authored by Pierre-Olivier Autran's avatar Pierre-Olivier Autran
Browse files

Fix PARTITION in get_partitions

parent 33a3d18e
No related branches found
No related tags found
1 merge request!17Fix PARTITION in get_partitions
Pipeline #227068 failed
......@@ -24,7 +24,7 @@ def get_partitions() -> tuple:
# sinfo -O partition
process = SubProcessCommand(command="sinfo -O partition")
try:
res = process.run()
res = process.run()[1:] #First item is PARTITION which is filtered out in the 2 next methods
except Exception:
pass
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment