When meld is launched in a shell and you kill it with ^C signal there is some python error output which can be avoid with this patch.
Signed-off-by: Sylvain Rabot <[email protected]> --- bin/meld | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/bin/meld b/bin/meld index 0967396..b3c273b 100755 --- a/bin/meld +++ b/bin/meld @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#!/usr/bin/env python ### Copyright (C) 2002-2006 Stephen Kennedy <[email protected]> @@ -114,7 +114,11 @@ def main(): import meld.meldapp app = meld.meldapp.MeldApp() app.parse_args(sys.argv[1:]) - gtk.main() + try: + gtk.main() + except KeyboardInterrupt, e: + print + pass if profiling: import profile -- 1.7.0.6 _______________________________________________ meld-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/meld-list
