(Whoops, again.) def __init__(self, config_file): self.fahdata = fahdata.FAHData() self.INI = ConfigParser.ConfigParser() if os.path.exists(config_file): try: self.INI.read(config_file) except ConfigParser.Error, err: print "Cannot parse configuration file. %s" %err except IOError, err: print "Problem opening configuration file. %s" %err except Error, err: print "Problem with with configuration file. %s" %err
-- http://mail.python.org/mailman/listinfo/python-list