Changeset b828a96 for server/lib/gutenbach/ipp/attribute.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/attribute.py
rcad7502 rb828a96 70 70 self.name = name 71 71 self.values = values 72 73 def __cmp__(self, other): 74 eq = self.name == other.name 75 for v1, v2 in zip(self.values, other.values): 76 eq = eq and (v1 == v2) 77 return 0 if eq else 1 72 78 73 79 @property
Note: See TracChangeset
for help on using the changeset viewer.