[Anygui-checkins] CVS: anygui/lib/anygui/backends gtkgui.py,1.26,1.27
Brought to you by:
mlh
From: Magnus L. H. <ml...@us...> - 2003-01-26 21:30:05
|
Update of /cvsroot/anygui/anygui/lib/anygui/backends In directory sc8-pr-cvs1:/tmp/cvs-serv21361/lib/anygui/backends Modified Files: gtkgui.py Log Message: Removed redundatnt try/except with traceback Index: gtkgui.py =================================================================== RCS file: /cvsroot/anygui/anygui/lib/anygui/backends/gtkgui.py,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -r1.26 -r1.27 *** gtkgui.py 26 Jan 2003 16:01:54 -0000 1.26 --- gtkgui.py 26 Jan 2003 21:29:55 -0000 1.27 *************** *** 42,65 **** """ ! try: ! # Import Anygui infrastructure. You shouldn't have to change these. ! from anygui.backends import * ! from anygui.Applications import AbstractApplication ! from anygui.Wrappers import AbstractWrapper ! from anygui.Events import * ! from anygui import application ! # End Anygui imports. ! # Import anything needed to access the backend API. This is ! # your job! ! import pygtk ! pygtk.require('2.0') ! ! import gtk ! # End backend API imports. ! except: ! import traceback ! traceback.print_exc() __all__ = ''' --- 42,65 ---- """ ! #try: ! # Import Anygui infrastructure. You shouldn't have to change these. ! from anygui.backends import * ! from anygui.Applications import AbstractApplication ! from anygui.Wrappers import AbstractWrapper ! from anygui.Events import * ! from anygui import application ! # End Anygui imports. ! # Import anything needed to access the backend API. This is ! # your job! ! import pygtk ! ! pygtk.require('2.0') ! import gtk ! # End backend API imports. ! #except: ! # import traceback ! # traceback.print_exc() __all__ = ''' |