Changeset b828a96 for server/lib/gutenbach/ipp/attributegroup.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/attributegroup.py
rb2e077a rb828a96 40 40 self.attributes = [] 41 41 self.extend(attributes) 42 43 def __cmp__(self, other): 44 eq = self.tag == other.tag 45 for a1, a2 in zip(self.attributes, other.attributes): 46 eq = eq and (a1 == a2) 47 return 0 if eq else 1 42 48 43 49 def __getitem__(self, name):
Note: See TracChangeset
for help on using the changeset viewer.