1 |
commit: 7fa4fe1b2fddff06b15156c915e7ed6bb29a469e |
2 |
Author: David Palao <david.palao <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue May 31 15:44:54 2022 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 7 23:47:55 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=7fa4fe1b |
7 |
|
8 |
improvement(actions): using new MtimeDB's API to make it read only |
9 |
|
10 |
Signed-off-by: David Palao <david.palao <AT> gmail.com> |
11 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
12 |
|
13 |
lib/_emerge/actions.py | 3 +-- |
14 |
1 file changed, 1 insertion(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/lib/_emerge/actions.py b/lib/_emerge/actions.py |
17 |
index e697459c8..0bf2d88b1 100644 |
18 |
--- a/lib/_emerge/actions.py |
19 |
+++ b/lib/_emerge/actions.py |
20 |
@@ -263,8 +263,7 @@ def action_build( |
21 |
mergelist_shown = False |
22 |
|
23 |
if pretend or fetchonly: |
24 |
- # make the mtimedb readonly |
25 |
- mtimedb.filename = None |
26 |
+ mtimedb.make_readonly() |
27 |
if "--digest" in myopts or "digest" in settings.features: |
28 |
if "--digest" in myopts: |
29 |
msg = "The --digest option" |