1 |
Author: zmedico |
2 |
Date: 2008-07-01 08:29:41 +0000 (Tue, 01 Jul 2008) |
3 |
New Revision: 10866 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/portage/dbapi/vartree.py |
7 |
Log: |
8 |
Also avoid sandbox violations in PreservedLibsRegistry.store(), for running |
9 |
portage inside ebuild phases. |
10 |
|
11 |
|
12 |
Modified: main/trunk/pym/portage/dbapi/vartree.py |
13 |
=================================================================== |
14 |
--- main/trunk/pym/portage/dbapi/vartree.py 2008-07-01 08:24:07 UTC (rev 10865) |
15 |
+++ main/trunk/pym/portage/dbapi/vartree.py 2008-07-01 08:29:41 UTC (rev 10866) |
16 |
@@ -64,6 +64,8 @@ |
17 |
""" Store the registry data to file. No need to call this if autocommit |
18 |
was enabled. |
19 |
""" |
20 |
+ if os.environ.get("SANDBOX_ON") == "1": |
21 |
+ return |
22 |
try: |
23 |
f = atomic_ofstream(self._filename) |
24 |
cPickle.dump(self._data, f) |
25 |
|
26 |
-- |
27 |
gentoo-commits@l.g.o mailing list |