1 |
Author: zmedico |
2 |
Date: 2010-01-08 20:15:45 +0000 (Fri, 08 Jan 2010) |
3 |
New Revision: 15179 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/_emerge/main.py |
7 |
Log: |
8 |
Skip global updates for help, version, and info actions. |
9 |
|
10 |
|
11 |
Modified: main/trunk/pym/_emerge/main.py |
12 |
=================================================================== |
13 |
--- main/trunk/pym/_emerge/main.py 2010-01-08 12:09:23 UTC (rev 15178) |
14 |
+++ main/trunk/pym/_emerge/main.py 2010-01-08 20:15:45 UTC (rev 15179) |
15 |
@@ -1169,7 +1169,8 @@ |
16 |
if rval != os.EX_OK: |
17 |
return rval |
18 |
|
19 |
- if portage._global_updates(trees, mtimedb["updates"]): |
20 |
+ if myaction not in ('help', 'info', 'version') and \ |
21 |
+ portage._global_updates(trees, mtimedb["updates"]): |
22 |
mtimedb.commit() |
23 |
# Reload the whole config from scratch. |
24 |
settings, trees, mtimedb = load_emerge_config(trees=trees) |