public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Zach Forrest <zach@disinformation.ca>
To: gentoo-dev@gentoo.org
Subject: [gentoo-dev] emerge feature for 1.0 release?
Date: Wed, 13 Mar 2002 13:43:57 -0800	[thread overview]
Message-ID: <3C8FC81D.6010202@disinformation.ca> (raw)

I think it would be nice to add something like the code below to the 
emerge command before the 1.0 release of Gentoo. Then rather than Python 
printing a traceback on a keyboard interrupt (i.e. ^C), a nice "abort" 
message would be printed. This would be more refined from a user 
perspective (in my opinion). Of course, if the '--debug' option were to 
be passed to emerge, the trace back could/should be printed.

if __name__ == '__main__':
     # Replace this with however emerge needs to be called.
     app = EmergeApp()
     try:
         app.main()
     except KeyboardInterrupt, e:
         print 'emerge: aborted'


zach



             reply	other threads:[~2002-03-13 21:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-13 21:43 Zach Forrest [this message]
2002-03-13 22:00 ` [gentoo-dev] emerge feature for 1.0 release? Bart Verwilst
2002-03-13 23:13   ` Zach Forrest

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3C8FC81D.6010202@disinformation.ca \
    --to=zach@disinformation.ca \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox