Revision 250a9404 lib/objects.py
b/lib/objects.py | ||
---|---|---|
38 | 38 |
import ConfigParser |
39 | 39 |
import re |
40 | 40 |
import copy |
41 |
import logging |
|
41 | 42 |
import time |
42 | 43 |
from cStringIO import StringIO |
43 | 44 |
|
... | ... | |
1334 | 1335 |
|
1335 | 1336 |
if self.ndparams is None: |
1336 | 1337 |
self.ndparams = {} |
1338 |
# And remove any global parameter |
|
1339 |
for key in constants.NDC_GLOBALS: |
|
1340 |
if key in self.ndparams: |
|
1341 |
logging.warning("Ignoring %s node parameter for node %s", |
|
1342 |
key, self.name) |
|
1343 |
del self.ndparams[key] |
|
1337 | 1344 |
|
1338 | 1345 |
if self.powered is None: |
1339 | 1346 |
self.powered = True |
Also available in: Unified diff