Skip to content
This repository
Browse code

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

…35, reported by James Saryerwinnie)
  • Loading branch information...
commit 4a090bf0d7736b862fb4ed9500c36caa7cfcc86d 1 parent ec8c22a
Andreas Klöckner authored March 25, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  pudb/shell.py
2  pudb/shell.py
@@ -36,7 +36,7 @@ def setup_readline():
36 36
 class SetPropagatingDict(dict):
37 37
     def __init__(self, source_dicts, target_dict):
38 38
         dict.__init__(self)
39  
-        for s in source_dicts:
  39
+        for s in source_dicts[::-1]:
40 40
             self.update(s)
41 41
 
42 42
         self.target_dict = target_dict

0 notes on commit 4a090bf

Please sign in to comment.
Something went wrong with that request. Please try again.