* [gentoo-commits] portage r13000 - main/branches/2.1.6/pym/_emerge
@ 2009-03-11 6:38 Zac Medico (zmedico)
0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2009-03-11 6:38 UTC (permalink / raw
To: gentoo-commits
Author: zmedico
Date: 2009-03-11 06:38:28 +0000 (Wed, 11 Mar 2009)
New Revision: 13000
Modified:
main/branches/2.1.6/pym/_emerge/__init__.py
Log:
Make --version and action. (trunk r12752)
Modified: main/branches/2.1.6/pym/_emerge/__init__.py
===================================================================
--- main/branches/2.1.6/pym/_emerge/__init__.py 2009-03-11 06:38:13 UTC (rev 12999)
+++ main/branches/2.1.6/pym/_emerge/__init__.py 2009-03-11 06:38:28 UTC (rev 13000)
@@ -186,7 +186,7 @@
"clean", "config", "depclean",
"info", "metadata",
"prune", "regen", "search",
-"sync", "unmerge",
+"sync", "unmerge", "version",
])
options=[
"--ask", "--alphabetical",
@@ -211,7 +211,7 @@
"--tree",
"--update",
"--usepkg", "--usepkgonly",
-"--verbose", "--version"
+"--verbose",
]
shortmapping={
@@ -14948,7 +14948,7 @@
if not sys.stdout.isatty() or ("--nospinner" in myopts):
spinner.update = spinner.update_basic
- if "--version" in myopts:
+ if myaction == 'version':
print getportageversion(settings["PORTDIR"], settings["ROOT"],
settings.profile_path, settings["CHOST"],
trees[settings["ROOT"]]["vartree"].dbapi)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-11 6:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-11 6:38 [gentoo-commits] portage r13000 - main/branches/2.1.6/pym/_emerge Zac Medico (zmedico)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox