Gentoo Archives: gentoo-dev

From: Zach Forrest <zach@××××××××××××××.ca>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] emerge feature for 1.0 release?
Date: Wed, 13 Mar 2002 17:08:50
Message-Id: 3C8FDD2C.1030600@disinformation.ca
In Reply to: Re: [gentoo-dev] emerge feature for 1.0 release? by Bart Verwilst
1 Cool, man. (Thanks)
2
3 Bart Verwilst wrote:
4 > Hi!
5 >
6 > in the latest 1.8.9_pre's, this is already implemented, 1.8.8 doesn't have
7 > this functionality yet though..
8 >
9 > See ya!
10 >
11 > On Wednesday 13 March 2002 22:43, Zach Forrest wrote:
12 > || I think it would be nice to add something like the code below to the
13 > || emerge command before the 1.0 release of Gentoo. Then rather than Python
14 > || printing a traceback on a keyboard interrupt (i.e. ^C), a nice "abort"
15 > || message would be printed. This would be more refined from a user
16 > || perspective (in my opinion). Of course, if the '--debug' option were to
17 > || be passed to emerge, the trace back could/should be printed.
18 > ||
19 > || if __name__ == '__main__':
20 > || # Replace this with however emerge needs to be called.
21 > || app = EmergeApp()
22 > || try:
23 > || app.main()
24 > || except KeyboardInterrupt, e:
25 > || print 'emerge: aborted'
26 > ||
27 > ||
28 > || zach
29 > ||
30 > || _______________________________________________
31 > || gentoo-dev mailing list
32 > || gentoo-dev@g.o
33 > || http://lists.gentoo.org/mailman/listinfo/gentoo-dev
34 >