Ignore:
Timestamp:
Dec 24, 2011, 1:33:26 AM (12 years ago)
Author:
Jessica B. Hamrick <jhamrick@…>
Branches:
no-cups
Children:
ee8e6d0
Parents:
793432f
git-author:
Jessica B. Hamrick <jhamrick@…> (12/24/11 01:33:26)
git-committer:
Jessica B. Hamrick <jhamrick@…> (12/24/11 01:33:26)
Message:

Get rid of individual operations files -- too messy. Go back to having a single requests file for handling requests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/lib/gutenbach/ipp/core/errors.py

    r793432f r1037115  
     1__all__ = [
     2    'IPPException',
     3    'IPPClientException',
     4    'IPPServerException',
     5
     6    'ClientErrorBadRequest',
     7    'ClientErrorForbidden',
     8    'ClientErrorNotAuthenticated',
     9    'ClientErrorNotAuthorized',
     10    'ClientErrorNotPossible',
     11    'ClientErrorTimeout',
     12    'ClientErrorNotFound',
     13    'ClientErrorGone',
     14    'ClientErrorRequestEntity',
     15    'ClientErrorRequestValue',
     16    'ClientErrorDocumentFormatNotSupported',
     17    'ClientErrorAttributes',
     18    'ClientErrorUriSchemeNotSupported',
     19    'ClientErrorCharsetNotSupported',
     20    'ClientErrorConflict',
     21    'ClientErrorCompressionNotSupported',
     22    'ClientErrorCompressionError',
     23    'ClientErrorDocumentFormatError',
     24    'ClientErrorDocumentAccessError',
     25    'ClientErrorAttributesNotSettable',
     26    'ClientErrorIgnoredAllSubscriptions',
     27    'ClientErrorTooManySubscriptions',
     28    'ClientErrorIgnoredAllNotifications',
     29    'ClientErrorPrintSupportFileNotFound',
     30
     31    'ServerErrorInternalError',
     32    'ServerErrorOperationNotSupported',
     33    'ServerErrorServiceUnavailable',
     34    'ServerErrorVersionNotSupported',
     35    'ServerErrorDeviceError',
     36    'ServerErrorTemporaryError',
     37    'ServerErrorNotAccepting',
     38    'ServerErrorPrinterBusy',
     39    'ServerErrorJobCancelled',
     40    'ServerErrorMultipleJobsNotSupported',
     41    'ServerErrorPrinterIsDeactivated',
     42]
     43   
     44
    145from .constants import ErrorCodes
    246
     
    129173    ipp_error_code = ErrorCodes.PRINTER_BUSY
    130174
    131 class ServerErrorErrorJobCancelled(IPPServerException):
     175class ServerErrorJobCancelled(IPPServerException):
    132176    ipp_error_code = ErrorCodes.ERROR_JOB_CANCELLED
    133177
Note: See TracChangeset for help on using the changeset viewer.