summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2007-08-25 09:32:48 +0000
committerMarius Mauch <genone@gentoo.org>2007-08-25 09:32:48 +0000
commit3fbe10837f38dbcf0df5686c482d6f1015378cb5 (patch)
treec99ccdca757589dd59c760f89049e675ac9187ee
parenta73108b11135f3512d4b4e8f8fea107d8d9cd486 (diff)
downloadportage-3fbe10837f38dbcf0df5686c482d6f1015378cb5.tar.gz
portage-3fbe10837f38dbcf0df5686c482d6f1015378cb5.tar.bz2
portage-3fbe10837f38dbcf0df5686c482d6f1015378cb5.zip
Remove pointless information from --info output
svn path=/main/trunk/; revision=7695
-rw-r--r--pym/emerge/__init__.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py
index f3fba9ce4..e2149c0c7 100644
--- a/pym/emerge/__init__.py
+++ b/pym/emerge/__init__.py
@@ -5168,26 +5168,6 @@ def action_info(settings, trees, myopts, myfiles):
print header_width * "="
print "System uname: "+unameout
- release_files = set(['gentoo-release', 'centos-release', 'debian_version',
- 'fedora-release', 'lsb-release', 'redhat-release', 'SuSE-release',
- 'yellowdog-release'])
- etc_dir = os.path.join(settings["ROOT"], 'etc')
- try:
- dir_list = os.listdir(etc_dir)
- except OSError:
- dir_list = []
- release_files = release_files.intersection(dir_list)
- if not release_files:
- print "Unknown Host Operating System"
- else:
- my_release_file = None
- if 'gentoo-release' in release_files:
- my_release_file = 'gentoo-release'
- else:
- my_release_file = release_files.pop()
- lines = portage.util.grablines(os.path.join(etc_dir, my_release_file))
- map(portage.writemsg_stdout, lines)
-
lastSync = portage.grabfile(os.path.join(
settings["PORTDIR"], "metadata", "timestamp.chk"))
print "Timestamp of tree:",