--- gnochm.py.in.orig 2005-02-08 11:52:58 +0300 +++ gnochm.py.in 2005-02-08 11:53:23 +0300 @@ -48,21 +48,16 @@ import urllib import urlparse import webbrowser -try: - from chm import chm, chmlib - import gconf - import gobject - import gtkhtml2 - import gtk - import gnome - import gnome.ui - import gtk.glade -except ImportError, (err): - mesg = 'You do not have all of the required Python modules to run gnochm.\nCheck the gnochm README file for tips on how to fix this.\nWhat follows is the error description highlighting the problematic module.\n\n' - sys.stdout.write(mesg) - sys.stderr.write(str(err) + '\n') - sys.exit(1) +from chm import chm, chmlib + +import gconf +import gobject +import gtkhtml2 +import gtk +import gnome +import gnome.ui +import gtk.glade #import gc