diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-12-11 23:26:05 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-12-11 23:26:05 +0000 |
commit | 5b3135413d200e58e602a74a6816e48380e53433 (patch) | |
tree | 05bd527b571cfbfba23f627f64fea576bc8af738 /bin/fix-db.py | |
parent | d19cc80ef4bf8b6d6ec7b89b75f2a7a77dfab94c (diff) | |
download | portage-5b3135413d200e58e602a74a6816e48380e53433.tar.gz portage-5b3135413d200e58e602a74a6816e48380e53433.tar.bz2 portage-5b3135413d200e58e602a74a6816e48380e53433.zip |
Instead of calling sys.exit when a ParseError occurs in the config
constructor, raise a ParseError and make emerge and portageq handle
the error. This way consumers of the portage api can handle the
ParseError rather than have their application exit. Thanks to lxnay
for reporting.
svn path=/main/trunk/; revision=8884
Diffstat (limited to 'bin/fix-db.py')
0 files changed, 0 insertions, 0 deletions