Fixed aborting non-existing fax jobs (this was caused by a duplicate

identifier in exceptions.py).


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@423 4ebea2bb-67d4-0310-8558-a5799e421b66
This commit is contained in:
htgoebel 2005-01-22 13:22:48 +00:00
parent dc6217c64a
commit 27a6451bc7
1 changed files with 4 additions and 2 deletions

View File

@ -33,12 +33,14 @@ class JobError(Error):
class JobLockedError(JobError): pass
class InvalidJob(JobError): pass
from ConfigParser import NoOptionError, NoSectionError, Error
from ConfigParser import NoOptionError, NoSectionError
from ConfigParser import Error as ConfigError
class NoGlobalSectionError(NoSectionError):
"""Raised when the GLOBAL section is missing
in a configuration file."""
def __init__(self):
Error.__init__(self, "Invalid config file: section GLOBAL missing")
NoSectionError.__init__(self,
"Invalid config file: section GLOBAL missing")
self.section = 'GLOBAL'