Skip to content

Commit

Permalink
Add Host.os to pycue wrapper. (#852)
Browse files Browse the repository at this point in the history
  • Loading branch information
splhack authored Dec 15, 2020
1 parent b3add2c commit 2228f16
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pycue/opencue/wrappers/host.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,12 @@ def lockState(self):
"""
return self.data.lock_state

def os(self):
"""
:rtype: str
:return: the operating system of the host
"""
return self.data.os

class NestedHost(Host):
"""This class contains information and actions related to a nested host."""
Expand Down

0 comments on commit 2228f16

Please sign in to comment.
  翻译: