Permalink
Browse files

Fix update order in SetPropagatingDict for classic shell. (fix issue …

…35, reported by James Saryerwinnie)
  • Loading branch information...
1 parent ec8c22a commit 4a090bf0d7736b862fb4ed9500c36caa7cfcc86d @inducer committed Mar 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 pudb/shell.py
View
2 pudb/shell.py
@@ -36,7 +36,7 @@ def setup_readline():
class SetPropagatingDict(dict):
def __init__(self, source_dicts, target_dict):
dict.__init__(self)
- for s in source_dicts:
+ for s in source_dicts[::-1]:
self.update(s)
self.target_dict = target_dict

0 comments on commit 4a090bf

Please sign in to comment.