Changeset b828a96 for server/lib/gutenbach/ipp/value.py
- Timestamp:
- Dec 23, 2011, 9:04:31 PM (12 years ago)
- Branches:
- no-cups
- Children:
- 793432f
- Parents:
- aded2d1
- git-author:
- Jessica B. Hamrick <jhamrick@…> (12/23/11 21:04:31)
- git-committer:
- Jessica B. Hamrick <jhamrick@…> (12/23/11 21:04:31)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/lib/gutenbach/ipp/value.py
r0c4f3bf rb828a96 54 54 self.tag = tag # one byte, the type of value 55 55 self.value = value # non-binary value of self.value 56 57 def __cmp__(self, other): 58 eq = (self.value == other.value) and (self.tag == other.tag) 59 return 0 if eq else 1 56 60 57 61 @classmethod
Note: See TracChangeset
for help on using the changeset viewer.