1 |
Author: zmedico |
2 |
Date: 2008-11-01 06:40:36 +0000 (Sat, 01 Nov 2008) |
3 |
New Revision: 11778 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/portage/dbapi/vartree.py |
7 |
Log: |
8 |
Before returning from PreservedLibsRegistry.store(), update self._data_orig. |
9 |
|
10 |
|
11 |
Modified: main/trunk/pym/portage/dbapi/vartree.py |
12 |
=================================================================== |
13 |
--- main/trunk/pym/portage/dbapi/vartree.py 2008-11-01 05:44:28 UTC (rev 11777) |
14 |
+++ main/trunk/pym/portage/dbapi/vartree.py 2008-11-01 06:40:36 UTC (rev 11778) |
15 |
@@ -79,6 +79,8 @@ |
16 |
except EnvironmentError, e: |
17 |
if e.errno != PermissionDenied.errno: |
18 |
writemsg("!!! %s %s\n" % (e, self._filename), noiselevel=-1) |
19 |
+ else: |
20 |
+ self._data_orig = self._data.copy() |
21 |
|
22 |
def register(self, cpv, slot, counter, paths): |
23 |
""" Register new objects in the registry. If there is a record with the |