From: Zac Medico Date: Fri, 23 Jun 2006 06:28:27 +0000 (-0000) Subject: Use secpass to determine whether emergelog exceptions should be ignored. X-Git-Tag: v2.1.1~418 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=67fe24f8dd2cc37851248f9a9bb209800d74b12c;p=portage.git Use secpass to determine whether emergelog exceptions should be ignored. svn path=/main/trunk/; revision=3619 --- diff --git a/bin/emerge b/bin/emerge index 1ab1874a3..803640d28 100755 --- a/bin/emerge +++ b/bin/emerge @@ -21,6 +21,7 @@ import portage_util import portage_locks import portage_exception from portage_const import PROFILE_PATH +from portage_data import secpass portage.global_updates( portage.settings, portage.db, portage.mtimedb["updates"]) @@ -477,9 +478,8 @@ def emergelog(mystr,short_msg=None): portage_locks.unlockfile(l) mylogfile.close() except (IOError,OSError,portage_exception.PortageException), e: - if edebug: - print "emergelog():",e - pass + if secpass >= 1: + print >> sys.stderr, "emergelog():",e def emergeexit(): """This gets out final log message in before we quit."""