portage.git
17 years agoupdate make.conf.example with per-module filtering
Marius Mauch [Thu, 18 Jan 2007 19:45:19 +0000 (19:45 -0000)]
update make.conf.example with per-module filtering

svn path=/main/trunk/; revision=5708

17 years agoAllow per-module filtering based on loglevels in addition to the global PORTAGE_ELOG_...
Marius Mauch [Thu, 18 Jan 2007 19:41:27 +0000 (19:41 -0000)]
Allow per-module filtering based on loglevels in addition to the global PORTAGE_ELOG_CLASSES one, add wildcard support for loglevels

svn path=/main/trunk/; revision=5707

17 years agomore trivial fixes
Marius Mauch [Thu, 18 Jan 2007 19:27:55 +0000 (19:27 -0000)]
more trivial fixes

svn path=/main/trunk/; revision=5706

17 years agobut news lib path is global, not an attr
Alec Warner [Thu, 18 Jan 2007 17:39:15 +0000 (17:39 -0000)]
but news lib path is global, not an attr

svn path=/main/trunk/; revision=5705

17 years agoI really meant NEWS_LIB_PATH (/var/lib/gentoo) but decent idea to have a timestamp...
Alec Warner [Thu, 18 Jan 2007 17:37:27 +0000 (17:37 -0000)]
I really meant NEWS_LIB_PATH (/var/lib/gentoo) but decent idea to have a timestamp per repo ;)

svn path=/main/trunk/; revision=5704

17 years agoAttribute error
Marius Mauch [Thu, 18 Jan 2007 16:58:52 +0000 (16:58 -0000)]
Attribute error

svn path=/main/trunk/; revision=5703

17 years agoSyntax error
Marius Mauch [Thu, 18 Jan 2007 16:45:40 +0000 (16:45 -0000)]
Syntax error

svn path=/main/trunk/; revision=5702

17 years agolocking, try 100
Alec Warner [Thu, 18 Jan 2007 07:15:10 +0000 (07:15 -0000)]
locking, try 100

svn path=/main/trunk/; revision=5701

17 years agolock file around chown/chmod
Alec Warner [Thu, 18 Jan 2007 06:59:50 +0000 (06:59 -0000)]
lock file around chown/chmod

svn path=/main/trunk/; revision=5700

17 years agofix apply_permissions import and use keyworded args in the call, as well as PORTAGE_I...
Alec Warner [Thu, 18 Jan 2007 06:34:52 +0000 (06:34 -0000)]
fix apply_permissions import and use keyworded args in the call, as well as PORTAGE_INST_UID instead of root, also fix some spacies in emerge, thanks for Zac for reporting

svn path=/main/trunk/; revision=5699

17 years agodump emerge's normpath in favor of portage_util's normalize_path
Alec Warner [Thu, 18 Jan 2007 06:23:12 +0000 (06:23 -0000)]
dump emerge's normpath in favor of portage_util's normalize_path

svn path=/main/trunk/; revision=5698

17 years agoadd try finally blocks around locking for news
Alec Warner [Thu, 18 Jan 2007 06:19:52 +0000 (06:19 -0000)]
add try finally blocks around locking for news

svn path=/main/trunk/; revision=5697

17 years agoarm supports sane exec stack stuff now
Mike Frysinger [Thu, 18 Jan 2007 04:18:12 +0000 (04:18 -0000)]
arm supports sane exec stack stuff now

svn path=/main/trunk/; revision=5695

17 years agosuperh supports sane exec stack stuff now
Mike Frysinger [Thu, 18 Jan 2007 04:17:15 +0000 (04:17 -0000)]
superh supports sane exec stack stuff now

svn path=/main/trunk/; revision=5694

17 years agostart documenting qa notices so antarus stops whining
Mike Frysinger [Thu, 18 Jan 2007 01:53:57 +0000 (01:53 -0000)]
start documenting qa notices so antarus stops whining

svn path=/main/trunk/; revision=5693

17 years agoUse elif where appropriate. Thanks to ferringb.
Zac Medico [Wed, 17 Jan 2007 22:58:08 +0000 (22:58 -0000)]
Use elif where appropriate.  Thanks to ferringb.

svn path=/main/trunk/; revision=5691

17 years agoFor bug #162404, spawn tee outside the sesandbox domain so that it reads from a pipe...
Zac Medico [Wed, 17 Jan 2007 21:42:10 +0000 (21:42 -0000)]
For bug #162404, spawn tee outside the sesandbox domain so that it reads from a pipe between two domains.

svn path=/main/trunk/; revision=5690

17 years agoRemove one last reference to ${tarvars}.
Zac Medico [Wed, 17 Jan 2007 09:07:24 +0000 (09:07 -0000)]
Remove one last reference to ${tarvars}.

svn path=/main/trunk/; revision=5689

17 years agoFix elimination of duplicate virtuals between the binpkg repo and installed packages.
Zac Medico [Wed, 17 Jan 2007 02:31:56 +0000 (02:31 -0000)]
Fix elimination of duplicate virtuals between the binpkg repo and installed packages.

svn path=/main/trunk/; revision=5684

17 years agoFor --usepkgonly, allow _expand_new_virtuals() to fall back to the vardb in case...
Zac Medico [Tue, 16 Jan 2007 23:49:10 +0000 (23:49 -0000)]
For --usepkgonly, allow _expand_new_virtuals() to fall back to the vardb in case all binaries aren't available.

svn path=/main/trunk/; revision=5682

17 years agoPrevent packages that are installed but masked from being incorrectly flagged as...
Zac Medico [Tue, 16 Jan 2007 23:05:51 +0000 (23:05 -0000)]
Prevent packages that are installed but masked from being incorrectly flagged as "available" (unless --usepkgonly is enabled, which currently has no package.mask support).

svn path=/main/trunk/; revision=5679

17 years agomake sure we rename links and not just what they point to #162451
Mike Frysinger [Tue, 16 Jan 2007 22:43:39 +0000 (22:43 -0000)]
make sure we rename links and not just what they point to #162451

svn path=/main/trunk/; revision=5678

17 years agomake it executable
Mike Frysinger [Tue, 16 Jan 2007 22:37:02 +0000 (22:37 -0000)]
make it executable

svn path=/main/trunk/; revision=5677

17 years agoUse the portable -o option for tar. Thanks to Timothy Redaelli <drizzt@gentoo.org...
Zac Medico [Tue, 16 Jan 2007 21:59:03 +0000 (21:59 -0000)]
Use the portable -o option for tar.  Thanks to Timothy Redaelli <drizzt@gentoo.org> for the patch.

svn path=/main/trunk/; revision=5676

17 years agoAllow --usepkgonly/--getbinpkgonly to work with installed deps when binpkgs aren...
Zac Medico [Tue, 16 Jan 2007 20:56:47 +0000 (20:56 -0000)]
Allow --usepkgonly/--getbinpkgonly to work with installed deps when binpkgs aren't available for some packages.  Thanks to Brent Baude <ranger@gentoo.org> for reporting.

svn path=/main/trunk/; revision=5675

17 years agoFor consistency, respect the use_binaries flag inside _expand_new_virtuals().
Zac Medico [Tue, 16 Jan 2007 20:08:13 +0000 (20:08 -0000)]
For consistency, respect the use_binaries flag inside _expand_new_virtuals().

svn path=/main/trunk/; revision=5674

17 years agoswitch news timestamp and unread/read storage to '/var/lib/gentoo' like the GLEP...
Alec Warner [Tue, 16 Jan 2007 16:59:34 +0000 (16:59 -0000)]
switch news timestamp and unread/read storage to '/var/lib/gentoo' like the GLEP states.

svn path=/main/trunk/; revision=5673

17 years agoIf repo/profiles/news doesn't exist, return 0 updates
Alec Warner [Tue, 16 Jan 2007 16:37:46 +0000 (16:37 -0000)]
If repo/profiles/news doesn't exist, return 0 updates

svn path=/main/trunk/; revision=5672

17 years agofix a few typos in tests
Alec Warner [Tue, 16 Jan 2007 16:35:52 +0000 (16:35 -0000)]
fix a few typos in tests

svn path=/main/trunk/; revision=5671

17 years agoVarious glep 42 fixes, fix up the portageq calls to fail properly, rewrite the news...
Alec Warner [Tue, 16 Jan 2007 16:07:10 +0000 (16:07 -0000)]
Various glep 42 fixes, fix up the portageq calls to fail properly, rewrite the news checking code to check news for all repos with a name.

svn path=/main/trunk/; revision=5670

17 years agoReplace mktemp with mkstemp since the former is deprecated for security reasons.
Zac Medico [Tue, 16 Jan 2007 07:59:41 +0000 (07:59 -0000)]
Replace mktemp with mkstemp since the former is deprecated for security reasons.

svn path=/main/trunk/; revision=5669

17 years agoFix broken commitmessagefile handling.
Zac Medico [Tue, 16 Jan 2007 07:40:33 +0000 (07:40 -0000)]
Fix broken commitmessagefile handling.

svn path=/main/trunk/; revision=5668

17 years agoFor consistency, just use os.environ.
Zac Medico [Tue, 16 Jan 2007 02:30:51 +0000 (02:30 -0000)]
For consistency, just use os.environ.

svn path=/main/trunk/; revision=5667

17 years agoMake repoman commit removals together with the other changes (instead of with the...
Zac Medico [Tue, 16 Jan 2007 02:19:10 +0000 (02:19 -0000)]
Make repoman commit removals together with the other changes (instead of with the final Manifest commit).

svn path=/main/trunk/; revision=5666

17 years agodirty dirty lies
Alec Warner [Tue, 16 Jan 2007 01:51:59 +0000 (01:51 -0000)]
dirty dirty lies

svn path=/main/trunk/; revision=5665

17 years agomake.conf is not a manual so only list common FEATURES #161985
Mike Frysinger [Tue, 16 Jan 2007 01:37:07 +0000 (01:37 -0000)]
make.conf is not a manual so only list common FEATURES #161985

svn path=/main/trunk/; revision=5664

17 years agodocument FEATURES=sesandbox #161985
Mike Frysinger [Tue, 16 Jan 2007 01:36:46 +0000 (01:36 -0000)]
document FEATURES=sesandbox #161985

svn path=/main/trunk/; revision=5663

17 years agoferringb pointed out this portroot parameter, ended up not using it, try an os.path...
Alec Warner [Tue, 16 Jan 2007 01:36:45 +0000 (01:36 -0000)]
ferringb pointed out this portroot parameter, ended up not using it, try an os.path.exists to save a very common (and slow) except on missing repo_name files for overlays, use a dict to facility a nicer regex comparison loop for news restrictions.

svn path=/main/trunk/; revision=5662

17 years agoEnable repoman to commit a Manifest alone instead of bailing out with "Didn't find...
Zac Medico [Tue, 16 Jan 2007 01:18:54 +0000 (01:18 -0000)]
Enable repoman to commit a Manifest alone instead of bailing out with "Didn't find any changed files".

svn path=/main/trunk/; revision=5661

17 years agofix minor syntax issues with locking
Alec Warner [Tue, 16 Jan 2007 00:49:29 +0000 (00:49 -0000)]
fix minor syntax issues with locking

svn path=/main/trunk/; revision=5660

17 years agomerge didn't bring in portage_news, no idea why
Alec Warner [Tue, 16 Jan 2007 00:43:52 +0000 (00:43 -0000)]
merge didn't bring in portage_news, no idea why

svn path=/main/trunk/; revision=5659

17 years agomerge glep42 into trunk
Alec Warner [Tue, 16 Jan 2007 00:42:01 +0000 (00:42 -0000)]
merge glep42 into trunk

svn path=/main/trunk/; revision=5658

17 years agoClean up imports in portage_locks.py
Alec Warner [Tue, 16 Jan 2007 00:40:34 +0000 (00:40 -0000)]
Clean up imports in portage_locks.py

svn path=/main/trunk/; revision=5657

17 years agoelevate the importance of 64bit clean code on 64bit hosts
Mike Frysinger [Mon, 15 Jan 2007 23:56:33 +0000 (23:56 -0000)]
elevate the importance of 64bit clean code on 64bit hosts

svn path=/main/trunk/; revision=5656

17 years agoMake invalid deps non-fatal for some phases.
Zac Medico [Mon, 15 Jan 2007 23:07:49 +0000 (23:07 -0000)]
Make invalid deps non-fatal for some phases.

svn path=/main/trunk/; revision=5655

17 years agoClean up variables when finished.
Zac Medico [Mon, 15 Jan 2007 22:37:37 +0000 (22:37 -0000)]
Clean up variables when finished.

svn path=/main/trunk/; revision=5654

17 years agoFor bug #162275, make doebuild validate *DEPEND and bail out if necessary.
Zac Medico [Mon, 15 Jan 2007 22:24:20 +0000 (22:24 -0000)]
For bug #162275, make doebuild validate *DEPEND and bail out if necessary.

svn path=/main/trunk/; revision=5653

17 years agoexithandler is not a portageq func, so ignore it
Alec Warner [Mon, 15 Jan 2007 21:21:59 +0000 (21:21 -0000)]
exithandler is not a portageq func, so ignore it

svn path=/main/trunk/; revision=5652

17 years agoFix alphabetical order. v2.1.2
Zac Medico [Sun, 14 Jan 2007 22:59:51 +0000 (22:59 -0000)]
Fix alphabetical order.

svn path=/main/trunk/; revision=5649

17 years agoDocument DOC_SYMLINKS_DIR.
Zac Medico [Sun, 14 Jan 2007 22:53:53 +0000 (22:53 -0000)]
Document DOC_SYMLINKS_DIR.

svn path=/main/trunk/; revision=5648

17 years agoDon't warn about /etc/make.profile not being a symlink if it has a parent file.
Zac Medico [Sun, 14 Jan 2007 22:03:17 +0000 (22:03 -0000)]
Don't warn about /etc/make.profile not being a symlink if it has a parent file.

svn path=/main/trunk/; revision=5647

17 years agoDisable the test phase when USE=test is masked (for consistency with the fix for...
Zac Medico [Sun, 14 Jan 2007 21:56:00 +0000 (21:56 -0000)]
Disable the test phase when USE=test is masked (for consistency with the fix for bug #69021).

svn path=/main/trunk/; revision=5646

17 years agoFor bug #69021, add news about FEATURES="test" implying USE="test".
Zac Medico [Sun, 14 Jan 2007 20:44:43 +0000 (20:44 -0000)]
For bug #69021, add news about FEATURES="test" implying USE="test".

svn path=/main/trunk/; revision=5645

17 years agoFor bug #161975, document the fact that GENTOO_MIRRORS supports mounted filesystem...
Zac Medico [Sun, 14 Jan 2007 20:05:48 +0000 (20:05 -0000)]
For bug #161975, document the fact that GENTOO_MIRRORS supports mounted filesystem mirrors.

svn path=/main/trunk/; revision=5644

17 years agoDocument PORTAGE_LOG_FILE, update PORTAGE_TMPDIR path which now includes CATEGORY...
Zac Medico [Sun, 14 Jan 2007 08:12:07 +0000 (08:12 -0000)]
Document PORTAGE_LOG_FILE, update PORTAGE_TMPDIR path which now includes CATEGORY, and lots of style/syntax fixes.  Thanks to Arfrever Frehtes Taifersar Arahesis <FFTA@WP.PL> from bug #161979.

svn path=/main/trunk/; revision=5643

17 years agoFix dohtml so that it continues to install files even after some fail. Thanks to...
Zac Medico [Sun, 14 Jan 2007 05:06:51 +0000 (05:06 -0000)]
Fix dohtml so that it continues to install files even after some fail.  Thanks to brad walker <bradmwalker@cableone.net> in bug #149745.

svn path=/main/trunk/; revision=5642

17 years agoFix reversed arguments.
Zac Medico [Sat, 13 Jan 2007 23:04:31 +0000 (23:04 -0000)]
Fix reversed arguments.

svn path=/main/trunk/; revision=5635

17 years agoFix 'TypeError: not all arguments converted during string formatting'. Thanks to...
Zac Medico [Sat, 13 Jan 2007 22:51:36 +0000 (22:51 -0000)]
Fix 'TypeError: not all arguments converted during string formatting'.  Thanks to marienz.

svn path=/main/trunk/; revision=5634

17 years agofix tabs with patch from Grobian and bug # 161911, fix developing a bit
Alec Warner [Sat, 13 Jan 2007 19:25:20 +0000 (19:25 -0000)]
fix tabs with patch from Grobian and bug # 161911, fix developing a bit

svn path=/main/trunk/; revision=5633

17 years agomake sure people call addread/addwrite/adddeny/addpredict correctly
Mike Frysinger [Sat, 13 Jan 2007 18:52:07 +0000 (18:52 -0000)]
make sure people call addread/addwrite/adddeny/addpredict correctly

svn path=/main/trunk/; revision=5632

17 years agoCatch InvalidData exceptions for bad atoms passed as emerge arguments.
Zac Medico [Sat, 13 Jan 2007 08:54:35 +0000 (08:54 -0000)]
Catch InvalidData exceptions for bad atoms passed as emerge arguments.

svn path=/main/trunk/; revision=5629

17 years agoFix a typo.
Zac Medico [Sat, 13 Jan 2007 04:52:55 +0000 (04:52 -0000)]
Fix a typo.

svn path=/main/trunk/; revision=5628

17 years agoObey the silent parameter when parsing options.
Zac Medico [Sat, 13 Jan 2007 03:52:48 +0000 (03:52 -0000)]
Obey the silent parameter when parsing options.

svn path=/main/trunk/; revision=5627

17 years agoDocument PORTAGE_COMPRESS and PORTAGE_COMPRESS_FLAGS.
Zac Medico [Sat, 13 Jan 2007 03:12:44 +0000 (03:12 -0000)]
Document PORTAGE_COMPRESS and PORTAGE_COMPRESS_FLAGS.

svn path=/main/trunk/; revision=5626

17 years agoFor bug #144380, disable color at emerge startup and then enable it only when it...
Zac Medico [Sat, 13 Jan 2007 02:54:55 +0000 (02:54 -0000)]
For bug #144380, disable color at emerge startup and then enable it only when it's absolutely sure that color should be enabled (after EMERGE_DEFAULT_OPTS has been parsed).

svn path=/main/trunk/; revision=5625

17 years agoUse end_paragraph(1) instead of add_line_break() so that there is really a blank...
Zac Medico [Sat, 13 Jan 2007 00:42:08 +0000 (00:42 -0000)]
Use end_paragraph(1) instead of add_line_break() so that there is really a blank line.

svn path=/main/trunk/; revision=5624

17 years agoSend the unmerge failure message to stderr.
Zac Medico [Sat, 13 Jan 2007 00:36:54 +0000 (00:36 -0000)]
Send the unmerge failure message to stderr.

svn path=/main/trunk/; revision=5623

17 years agoSend the slot collision notice to stderr and only show minimal output in --quiet...
Zac Medico [Fri, 12 Jan 2007 23:24:26 +0000 (23:24 -0000)]
Send the slot collision notice to stderr and only show minimal output in --quiet mode.

svn path=/main/trunk/; revision=5621

17 years agoremove the last of the string module from portage.py
Alec Warner [Fri, 12 Jan 2007 23:07:28 +0000 (23:07 -0000)]
remove the last of the string module from portage.py

svn path=/main/trunk/; revision=5620

17 years agoAdd a few pretty basic comments on writing code, particularly things that portage...
Alec Warner [Fri, 12 Jan 2007 19:26:51 +0000 (19:26 -0000)]
Add a few pretty basic comments on writing code, particularly things that portage used to do (and still does) that are...a bit out of style ;)

svn path=/main/trunk/; revision=5612

17 years agoFix another typo.
Zac Medico [Fri, 12 Jan 2007 11:53:27 +0000 (11:53 -0000)]
Fix another typo.

svn path=/main/trunk/; revision=5609

17 years agoFix more typos.
Zac Medico [Fri, 12 Jan 2007 11:49:36 +0000 (11:49 -0000)]
Fix more typos.

svn path=/main/trunk/; revision=5608

17 years agoRevert accidentally modified joins.
Zac Medico [Fri, 12 Jan 2007 10:30:50 +0000 (10:30 -0000)]
Revert accidentally modified joins.

svn path=/main/trunk/; revision=5607

17 years agoFix a typo.
Zac Medico [Fri, 12 Jan 2007 10:08:12 +0000 (10:08 -0000)]
Fix a typo.

svn path=/main/trunk/; revision=5606

17 years agoFix a typo.
Zac Medico [Fri, 12 Jan 2007 09:57:16 +0000 (09:57 -0000)]
Fix a typo.

svn path=/main/trunk/; revision=5605

17 years agopurge string from portage.py, fix minor bug in portage_util
Alec Warner [Fri, 12 Jan 2007 09:08:27 +0000 (09:08 -0000)]
purge string from portage.py, fix minor bug in portage_util

svn path=/main/trunk/; revision=5604

17 years agopurge string module from repoman
Alec Warner [Fri, 12 Jan 2007 09:07:46 +0000 (09:07 -0000)]
purge string module from repoman

svn path=/main/trunk/; revision=5603

17 years agoanother annoy space bug
Alec Warner [Fri, 12 Jan 2007 09:00:01 +0000 (09:00 -0000)]
another annoy space bug

svn path=/main/trunk/; revision=5602

17 years agofix "" " " bug
Alec Warner [Fri, 12 Jan 2007 08:55:24 +0000 (08:55 -0000)]
fix "" " " bug

svn path=/main/trunk/; revision=5601

17 years agopurge string module from emerge
Alec Warner [Fri, 12 Jan 2007 08:30:37 +0000 (08:30 -0000)]
purge string module from emerge

svn path=/main/trunk/; revision=5600

17 years agoFix typos from the previous commit.
Zac Medico [Fri, 12 Jan 2007 08:29:09 +0000 (08:29 -0000)]
Fix typos from the previous commit.

svn path=/main/trunk/; revision=5599

17 years agoUse startswith and endswith to simplify code.
Zac Medico [Fri, 12 Jan 2007 08:27:31 +0000 (08:27 -0000)]
Use startswith and endswith to simplify code.

svn path=/main/trunk/; revision=5598

17 years agoMore String deprecation
Alec Warner [Fri, 12 Jan 2007 08:19:46 +0000 (08:19 -0000)]
More String deprecation

svn path=/main/trunk/; revision=5597

17 years agoset Id on tests
Alec Warner [Fri, 12 Jan 2007 08:08:53 +0000 (08:08 -0000)]
set Id on tests

svn path=/main/trunk/; revision=5596

17 years agomore string deprecation
Alec Warner [Fri, 12 Jan 2007 08:08:03 +0000 (08:08 -0000)]
more string deprecation

svn path=/main/trunk/; revision=5595

17 years agoBegin the deprecation of the string module
Alec Warner [Fri, 12 Jan 2007 07:58:39 +0000 (07:58 -0000)]
Begin the deprecation of the string module

svn path=/main/trunk/; revision=5594

17 years agoRemove a duplicate % character.
Zac Medico [Fri, 12 Jan 2007 06:49:45 +0000 (06:49 -0000)]
Remove a duplicate % character.

svn path=/main/trunk/; revision=5593

17 years agoFix incremental virtuals code for the new stricter catpkgsplit behavior.
Zac Medico [Fri, 12 Jan 2007 06:18:13 +0000 (06:18 -0000)]
Fix incremental virtuals code for the new stricter catpkgsplit behavior.

svn path=/main/trunk/; revision=5592

17 years agoPrevent an InvalidData exception during global updates due to the new stricter catpkg...
Zac Medico [Fri, 12 Jan 2007 06:10:59 +0000 (06:10 -0000)]
Prevent an InvalidData exception during global updates due to the new stricter catpkgsplit behavior.

svn path=/main/trunk/; revision=5591

17 years agoFor bug #88485, show the location of the build log whenever a build fails.
Zac Medico [Fri, 12 Jan 2007 05:52:54 +0000 (05:52 -0000)]
For bug #88485, show the location of the build log whenever a build fails.

svn path=/main/trunk/; revision=5590

17 years agoReturn early from finddigest if findname2 found nothing.
Zac Medico [Fri, 12 Jan 2007 05:19:37 +0000 (05:19 -0000)]
Return early from finddigest if findname2 found nothing.

svn path=/main/trunk/; revision=5589

17 years agoFIx a bunch of random Except: statements in portage.py, most of them are IO/OS related
Alec Warner [Fri, 12 Jan 2007 04:48:24 +0000 (04:48 -0000)]
FIx a bunch of random Except: statements in portage.py, most of them are IO/OS related

svn path=/main/trunk/; revision=5588

17 years agoos.cwd can return OSError (maybe IOError with wrong perms for ./, will test actually...
Alec Warner [Fri, 12 Jan 2007 04:28:10 +0000 (04:28 -0000)]
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

svn path=/main/trunk/; revision=5587

17 years agoEOFError is also important according to Zac
Alec Warner [Fri, 12 Jan 2007 04:26:32 +0000 (04:26 -0000)]
EOFError is also important according to Zac

svn path=/main/trunk/; revision=5586

17 years agogetbinpkg.py fix except: open can be IOERror or OSError and cPickle can throw an...
Alec Warner [Fri, 12 Jan 2007 04:12:45 +0000 (04:12 -0000)]
getbinpkg.py fix except: open can be IOERror or OSError and cPickle can throw an unpicklingError

svn path=/main/trunk/; revision=5585

17 years agocomment the excepts in a few places
Alec Warner [Fri, 12 Jan 2007 04:07:38 +0000 (04:07 -0000)]
comment the excepts in a few places

svn path=/main/trunk/; revision=5584

17 years agoFix broad except statement, should only be KeyError
Alec Warner [Fri, 12 Jan 2007 03:51:53 +0000 (03:51 -0000)]
Fix broad except statement, should only be KeyError

svn path=/main/trunk/; revision=5583

17 years agoportage_versions.py, more string.atoi -> int, fix another except: that should be...
Alec Warner [Fri, 12 Jan 2007 03:46:22 +0000 (03:46 -0000)]
portage_versions.py, more string.atoi -> int, fix another except: that should be ValueError

svn path=/main/trunk/; revision=5582

17 years agoChange vercmp to use int() instead of string atoi, catch ValueError in pkgcmp
Alec Warner [Fri, 12 Jan 2007 03:38:36 +0000 (03:38 -0000)]
Change vercmp to use int() instead of string atoi, catch ValueError in pkgcmp

svn path=/main/trunk/; revision=5581

17 years agoFor bug #147512, don't print a cryptic error message when an EnvironmentError occurs...
Zac Medico [Fri, 12 Jan 2007 03:17:13 +0000 (03:17 -0000)]
For bug #147512, don't print a cryptic error message when an EnvironmentError occurs.  Also, allow the user to get a traceback via --debug.

svn path=/main/trunk/; revision=5580