diff options
author | bbangert <devnull@localhost> | 2007-10-08 18:07:03 +0000 |
---|---|---|
committer | bbangert <devnull@localhost> | 2007-10-08 18:07:03 +0000 |
commit | 28c3f0f3f2c4b7badb44f28b17fa770fdec847c8 (patch) | |
tree | 15d32ea30504f983eeb2c471e459221f6f5f43e7 /paste/registry.py | |
parent | f01e989604815010524f92917346dcc62dbe591f (diff) | |
download | paste-28c3f0f3f2c4b7badb44f28b17fa770fdec847c8.tar.gz |
Failing to pop proper obj during register.
Diffstat (limited to 'paste/registry.py')
-rw-r--r-- | paste/registry.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/registry.py b/paste/registry.py index 288fdda..216f99a 100644 --- a/paste/registry.py +++ b/paste/registry.py @@ -308,7 +308,7 @@ class Registry(object): myreglist = self.reglist[-1] stacked_id = id(stacked) if stacked_id in myreglist: - stacked._pop_object(myreglist[stacked_id]) + stacked._pop_object(myreglist[stacked_id][1]) del myreglist[stacked_id] stacked._push_object(obj) myreglist[stacked_id] = (stacked, obj) |