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

Cueadmin api updates #45

Merged
merged 4 commits into from
Dec 11, 2018
Merged

Cueadmin api updates #45

merged 4 commits into from
Dec 11, 2018

Conversation

gregdenton
Copy link
Collaborator

Updating cueadmin to work with spi_cue api changes.

cueadmin/common/common.py Outdated Show resolved Hide resolved
cueadmin/common/common.py Outdated Show resolved Hide resolved
@gregdenton gregdenton requested a review from bcipriano December 11, 2018 01:57
@gregdenton gregdenton merged commit 3596673 into AcademySoftwareFoundation:master Dec 11, 2018
@gregdenton gregdenton deleted the cueadmin branch December 11, 2018 19:14
DiegoTavares pushed a commit that referenced this pull request Oct 1, 2024
**Link the Issue(s) this Pull Request is related to.**
Fixes: #1519

**Summarize your change.**
Use `platform.uname()` instead of `os.uname()`. They have the same
result on Linux, but `os.uname()` is not available on Windows, making us
unable to kill a job from this OS.

**Additional information.**
Linux (ubuntu 22.04.6): 
``` python
>>> os.uname()
posix.uname_result(sysname='Linux', nodename='titan', release='6.8.0-45-generic', version='#45~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Sep 11 15:25:05 UTC 2', machine='x86_64')
>>>platform.uname()
uname_result(system='Linux', node='titan', release='6.8.0-45-generic', version='#45~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Sep 11 15:25:05 UTC 2', machine='x86_64')
```
Windows (11): 
``` python
>>> platform.uname()
uname_result(system='Windows', node='StarChaser', release='10', version='10.0.22631', machine='AMD64')
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants