git://git.onelab.eu
/
nodemanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
06cc8f4
)
Fix overrides to clean out when none present.
author
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Mon, 3 Aug 2009 21:31:26 +0000
(21:31 +0000)
committer
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Mon, 3 Aug 2009 21:31:26 +0000
(21:31 +0000)
nm.py
patch
|
blob
|
history
diff --git
a/nm.py
b/nm.py
index
3f8edbc
..
c262906
100755
(executable)
--- a/
nm.py
+++ b/
nm.py
@@
-85,8
+85,7
@@
def getPLCDefaults(data, config):
if len(attr_dict):
logger.verbose("Found default slice overrides.\n %s" % attr_dict)
config.OVERRIDES = attr_dict
if len(attr_dict):
logger.verbose("Found default slice overrides.\n %s" % attr_dict)
config.OVERRIDES = attr_dict
- return
- if 'OVERRIDES' not in dir(config): del config.OVERRIDES
+ elif 'OVERRIDES' in dir(config): del config.OVERRIDES
def run():
def run():