Code Review
/
apex-tripleo-heat-templates.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
6defee3
)
Support DependsOn
author
Clint Byrum
<clint@fewbar.com>
Tue, 14 May 2013 18:02:51 +0000
(11:02 -0700)
committer
Clint Byrum
<clint@fewbar.com>
Thu, 6 Jun 2013 16:25:27 +0000
(09:25 -0700)
merge.py
patch
|
blob
|
history
diff --git
a/merge.py
b/merge.py
index
7805b64
..
b1443f2
100644
(file)
--- a/
merge.py
+++ b/
merge.py
@@
-77,6
+77,9
@@
def fix_ref(item, old, new):
if k == 'Ref' and v == old:
item[k] = new
continue
+ if k == 'DependsOn' and v == old:
+ item[k] = new
+ continue
if k == 'Fn::GetAtt' and isinstance(v, list) and v[0] == old:
new_list = list(v)
new_list[0] = new