Support for long in CRL/overlay.Configuration.__setattr__().
This commit is contained in:
parent
960e0cda18
commit
34c1795630
|
@ -62,6 +62,8 @@ class Configuration:
|
|||
Cfg.getParamEnumerate(attr).setInt( val )
|
||||
else:
|
||||
Cfg.getParamInt(attr).setInt( val )
|
||||
elif isinstance(val, long):
|
||||
p = Cfg.getParamInt( attr ) # all params have a type
|
||||
elif isinstance(val, float):
|
||||
p = Cfg.getParamDouble( attr ).setDouble( val )
|
||||
elif '%' in val:
|
||||
|
|
Loading…
Reference in New Issue