Skip to content

Commit

Permalink
Merge pull request ansible#15629 from privateip/fix-15496
Browse files Browse the repository at this point in the history
make netcfg preserve command order
  • Loading branch information
privateip committed May 16, 2016
2 parents ba63ccb + c43ea83 commit 8f7c879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible/module_utils/netcfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def difference(self, other, path=None, match='line', replace='line'):
if self._device_os == 'junos':
return updates

diffs = dict()
diffs = collections.OrderedDict()
for update in updates:
if replace == 'block' and update.parents:
update = update.parents[-1]
Expand Down

0 comments on commit 8f7c879

Please sign in to comment.