jhbuild r1788 - in trunk: . jhbuild/frontends
- From: fpeters svn gnome org
- To: svn-commits-list gnome org
- Subject: jhbuild r1788 - in trunk: . jhbuild/frontends
- Date: Tue, 8 Jan 2008 01:26:36 +0000 (GMT)
Author: fpeters
Date: Tue Jan 8 01:26:36 2008
New Revision: 1788
URL: http://svn.gnome.org/viewvc/jhbuild?rev=1788&view=rev
Log:
* jhbuild/frontends/terminal.py: catch exceptions around ncurses call
to setup terminal.
Modified:
trunk/ChangeLog
trunk/jhbuild/frontends/terminal.py
Modified: trunk/jhbuild/frontends/terminal.py
==============================================================================
--- trunk/jhbuild/frontends/terminal.py (original)
+++ trunk/jhbuild/frontends/terminal.py Tue Jan 8 01:26:36 2008
@@ -47,7 +47,10 @@
user_shell = os.environ.get('SHELL', '/bin/sh')
import curses
-curses.setupterm()
+try:
+ curses.setupterm()
+except:
+ pass
# tray icon stuff ...
icondir = os.path.join(os.path.dirname(__file__), 'icons')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]