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:
parent
dc6217c64a
commit
27a6451bc7
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue