Revision 1db993d5 lib/cmdlib.py
b/lib/cmdlib.py | ||
---|---|---|
8858 | 8858 |
for name, value in einfo.items(constants.INISECT_BEP): |
8859 | 8859 |
if name not in self.op.beparams: |
8860 | 8860 |
self.op.beparams[name] = value |
8861 |
# Compatibility for the old "memory" be param |
|
8862 |
if name == constants.BE_MEMORY: |
|
8863 |
if constants.BE_MAXMEM not in self.op.beparams: |
|
8864 |
self.op.beparams[constants.BE_MAXMEM] = value |
|
8865 |
if constants.BE_MINMEM not in self.op.beparams: |
|
8866 |
self.op.beparams[constants.BE_MINMEM] = value |
|
8861 | 8867 |
else: |
8862 | 8868 |
# try to read the parameters old style, from the main section |
8863 | 8869 |
for name in constants.BES_PARAMETERS: |
Also available in: Unified diff