Bug 2209 - installer gridengine qmaster sur physix-master
fixed bug that causes SgeConfigurator when the sge user 'root' doesn't yet exists (which is the case on a fresh server install)
This commit is contained in:
parent
5e959c5c23
commit
6601521ff2
|
@ -8,6 +8,8 @@ import re
|
||||||
class SgeConfig:
|
class SgeConfig:
|
||||||
def __init__( self ):
|
def __init__( self ):
|
||||||
self.m_attrs={}
|
self.m_attrs={}
|
||||||
|
def hasAttr(self, attr_name):
|
||||||
|
return attr_name in self.m_attrs.keys()
|
||||||
def getAttr( self, strAttrName ):
|
def getAttr( self, strAttrName ):
|
||||||
return self.m_attrs[ strAttrName ]
|
return self.m_attrs[ strAttrName ]
|
||||||
def setAttr( self, strAttrName, strAttrValue ):
|
def setAttr( self, strAttrName, strAttrValue ):
|
||||||
|
|
Loading…
Reference in New Issue