Show More
@@ -67,10 +67,7 b' def _chain(a, b):' | |||||
67 | """chain two sets of copies 'a' and 'b'""" |
|
67 | """chain two sets of copies 'a' and 'b'""" | |
68 | t = a.copy() |
|
68 | t = a.copy() | |
69 | for k, v in pycompat.iteritems(b): |
|
69 | for k, v in pycompat.iteritems(b): | |
70 | if v in t: |
|
70 | t[k] = t.get(v, v) | |
71 | t[k] = t[v] |
|
|||
72 | else: |
|
|||
73 | t[k] = v |
|
|||
74 | return t |
|
71 | return t | |
75 |
|
72 | |||
76 |
|
73 |
General Comments 0
You need to be logged in to leave comments.
Login now