Use "platform" module instead of os.uname, or -- even worse -- a system
authorFabian Groffen <grobian@gentoo.org>
Tue, 3 Jun 2008 12:28:15 +0000 (12:28 -0000)
committerFabian Groffen <grobian@gentoo.org>
Tue, 3 Jun 2008 12:28:15 +0000 (12:28 -0000)
commitd8bb5f85feb4ea39260149f864af694d32ebb767
tree38b7063f587c90cfad2e124950557324c9a4dff3
parentb7be5d49c6aec87a9d26bb284807476813310cf7
Use "platform" module instead of os.uname, or -- even worse -- a system
call to uname.  Change repoman's identification string not to use
"processor" on Linux (where it is huge), Interix (where it doesn't
exist) and AIX/HP-UX (where it prints "unknown"), but "machine" instead.

This patch is eligable for merging in "trunk".

svn path=/main/branches/prefix/; revision=10554
bin/repoman
pym/portage/__init__.py
pym/portage/data.py