Merged from trunk 5581:5597
authorFabian Groffen <grobian@gentoo.org>
Fri, 12 Jan 2007 23:05:07 +0000 (23:05 -0000)
committerFabian Groffen <grobian@gentoo.org>
Fri, 12 Jan 2007 23:05:07 +0000 (23:05 -0000)
commit5226ff6b385473bb60a1cab2acc0dd028d41e767
tree3337b301e0af1aabff27e104fdb37c6f21e2a4ce
parent8d307879cf8ff7c6b66755dd5ff7e7d6df994d97
Merged from trunk 5581:5597

portage_versions.py, more string.atoi -> int, fix another except: that
should be ValueError (WarnerBro)
(Prefix: string.atof -> float)

Fix broad except statement, should only be KeyError (WarnerBro)

comment the excepts in a few places (WarnerBro)

getbinpkg.py fix except: open can be IOERror or OSError and cPickle can
throw an unpicklingError (WarnerBro)

EOFError is also important according to Zac (WarnerBro)

os.cwd can return OSError (maybe IOError with wrong perms for ./, will
test actually), load_mod should be IMportError, nuke a stupid try except
around shuffle which used to break years ago with old glibcs, remove try
except around what appears to be a regex? and make the try except around
the unlink a bit cleaner (WarnerBro)

FIx a bunch of random Except: statements in portage.py, most of them are
IO/OS related (WarnerBro)

Return early from finddigest if findname2 found nothing.

For bug #88485, show the location of the build log whenever a build
fails.

Prevent an InvalidData exception during global updates due to the new
stricter catpkgsplit behavior.

Fix incremental virtuals code for the new stricter catpkgsplit behavior.

Remove a duplicate % character.

Begin the deprecation of the string module (WarnerBro)

more string deprecation (WarnerBro)

set Id on tests (WarnerBro)

More String deprecation (WarnerBro)

svn path=/main/branches/prefix/; revision=5619
37 files changed:
bin/archive-conf
bin/chkcontents
bin/dispatch-conf
bin/dohtml
bin/ebuild.sh
bin/md5check.py
bin/portageq
bin/regenworld
pym/cvstree.py
pym/eclass_cache.py
pym/emergehelp.py
pym/getbinpkg.py
pym/portage.py
pym/portage_dep.py
pym/portage_exec.py
pym/portage_locks.py
pym/portage_update.py
pym/portage_util.py
pym/portage_versions.py
pym/xpak.py
tests/portage/__init__.py
tests/portage_dep/__init__.py
tests/portage_dep/test_dep_getcpv.py
tests/portage_dep/test_dep_getslot.py
tests/portage_dep/test_get_operator.py
tests/portage_dep/test_isjustname.py
tests/portage_dep/test_isvalidatom.py
tests/portage_dep/test_match_from_list.py
tests/portage_util/__init__.py
tests/portage_util/test_grabdict.py
tests/portage_util/test_normalizedPath.py
tests/portage_util/test_stackDictList.py
tests/portage_util/test_stackDicts.py
tests/portage_util/test_stackLists.py
tests/portage_util/test_uniqueArray.py
tests/portage_util/test_varExpand.py
tests/portage_versions/__init__.py