summaryrefslogtreecommitdiff
path: root/pkg_resources.py
diff options
context:
space:
mode:
authorErik Bray <embray@stsci.edu>2011-05-20 16:08:26 -0400
committerErik Bray <embray@stsci.edu>2011-05-20 16:08:26 -0400
commit38ac54038c96d339f55a66af6ad8da20320ff411 (patch)
tree5b1a536becb738222e06cdeb437d61801862973b /pkg_resources.py
parentd76ad0a7d55448992833c36ecbc1899ae0e17683 (diff)
downloadpython-setuptools-git-38ac54038c96d339f55a66af6ad8da20320ff411.tar.gz
Adds some missing bits to the sandbox fix--need to actually save/restore the pkg_resources state.
--HG-- branch : distribute extra : rebase_source : 961ca56f30a6aabb5d24eff3cabb527d1be93ae4
Diffstat (limited to 'pkg_resources.py')
-rw-r--r--pkg_resources.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg_resources.py b/pkg_resources.py
index d704aad5..636d6ff9 100644
--- a/pkg_resources.py
+++ b/pkg_resources.py
@@ -710,6 +710,7 @@ class WorkingSet(object):
def __setstate__(self, (entries, keys, by_key, callbacks)):
self.entries = entries[:]
+ self.entry_keys = keys.copy()
self.by_key = by_key.copy()
self.callbacks = callbacks[:]