Ignore:
Timestamp:
Mar 5, 2011, 10:23:28 PM (14 years ago)
Author:
Jessica B. Hamrick <jhamrick@…>
Branches:
no-cups
Children:
8979f90
Parents:
35b7466
git-author:
Jessica B. Hamrick <jhamrick@…> (03/05/11 22:23:28)
git-committer:
Jessica B. Hamrick <jhamrick@…> (03/05/11 22:23:28)
Message:

Add blank init methods to classes in ippconstants.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/lib/ippconstants.py

    r35b7466 re97c37d  
    66    IPP_VERSION = "1.1"
    77    IPP_PORT = 8000
     8
     9    def __init__(self): pass
    810
    911class JobStates():
     
    2022    COMPLETE   = 9
    2123
     24    def __init__(self): pass
     25
    2226class PrinterStates():
    2327    """
     
    2832    PROCESSING = 4
    2933    STOPPED    = 5
     34
     35    def __init__(self): pass
    3036
    3137class Operations():
     
    109115    CUPS_GET_DOCUMENT      = 0x4027
    110116
     117    def __init__(self): pass
     118
    111119class SuccessCodes():
    112120    """
     
    121129    OK_TOO_MANY_EVENTS           = 0x0005
    122130    OK_BUT_CANCEL_SUBSCRIPTION   = 0x0006
     131
     132    def __init__(self): pass
    123133
    124134class ClientErrorCodes():
     
    152162    PRINT_SUPPORT_FILE_NOT_FOUND = 0x0417
    153163
     164    def __init__(self): pass
     165
    154166class ServerErrorCodes():
    155167    """
     
    169181    PRINTER_IS_DEACTIVATED      = 0x050a
    170182
     183    def __init__(self): pass
     184
    171185class CUPSPrinterType():
    172186    """
     
    209223
    210224    OPTIONS       = 0x00e6ff
     225
     226    def __init__(self): pass
    211227
    212228class AttributeTags():
     
    225241    EVENT_NOTIFICATION = 0x07
    226242
     243    def __init__(self): pass
     244
    227245class OutOfBandTags():
    228246    """
     
    239257    ADMIN_DEFINE     = 0x17
    240258
     259    def __init__(self): pass
     260
    241261class IntegerTags():
    242262    """
     
    249269    BOOLEAN = 0x22
    250270    ENUM    = 0x23
     271
     272    def __init__(self): pass
    251273
    252274class OctetStringTags():
     
    264286    NAME_WITH_LANGUAGE      = 0x36
    265287    END_COLLECTION          = 0x37
     288
     289    def __init__(self): pass
    266290
    267291class CharacterStringTags():
Note: See TracChangeset for help on using the changeset viewer.