Gentoo Archives: gentoo-dev

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

Replies

Subject Author
Re: [gentoo-dev] emerge feature for 1.0 release? Zach Forrest <zach@××××××××××××××.ca>