public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] emerge feature for 1.0 release?
@ 2002-03-13 21:43 Zach Forrest
  2002-03-13 22:00 ` Bart Verwilst
  0 siblings, 1 reply; 3+ messages in thread
From: Zach Forrest @ 2002-03-13 21:43 UTC (permalink / raw
  To: gentoo-dev

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-03-13 23:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-13 21:43 [gentoo-dev] emerge feature for 1.0 release? Zach Forrest
2002-03-13 22:00 ` Bart Verwilst
2002-03-13 23:13   ` Zach Forrest

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox