diff options
-rw-r--r-- | pym/portage/dbapi/vartree.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 4ca0b9b1d..1b13b8bc9 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -64,6 +64,8 @@ class PreservedLibsRegistry(object): """ Store the registry data to file. No need to call this if autocommit was enabled. """ + if os.environ.get("SANDBOX_ON") == "1": + return try: f = atomic_ofstream(self._filename) cPickle.dump(self._data, f) |