Changeset e58af05 for server/lib/gutenbach/ipp/attributes/operation.py
- Timestamp:
- Dec 27, 2011, 11:33:55 PM (12 years ago)
- Branches:
- no-cups
- Children:
- ce2abc5
- Parents:
- 7c143c9
- git-author:
- Jessica B. Hamrick <jhamrick@…> (12/27/11 23:33:55)
- git-committer:
- Jessica B. Hamrick <jhamrick@…> (12/27/11 23:33:55)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/lib/gutenbach/ipp/attributes/operation.py
ree8e6d0 re58af05 2 2 'PrinterUri', 3 3 'RequestingUserName', 4 'IppAttributeFidelity', 5 'LastDocument' 4 6 ] 5 7 … … 7 9 from .. import Value 8 10 from .. import errors 9 from .. import CharacterStringTags 11 from .. import CharacterStringTags, IntegerTags 10 12 11 13 def PrinterUri(val): … … 21 23 def IppAttributeFidelity(val): 22 24 raise errors.ClientErrorAttributes, 'ipp-attribute-fidelity' 25 26 def LastDocument(val): 27 return Attribute( 28 'last-document', 29 [Value(IntegerTags.BOOLEAN, val)])
Note: See TracChangeset
for help on using the changeset viewer.