Changeset 776a659 for server/lib/ipp/attributegroup.py
- Timestamp:
- Mar 14, 2011, 10:41:18 PM (14 years ago)
- Branches:
- no-cups
- Children:
- df51061
- Parents:
- 1176f8b
- git-author:
- Jessica B. Hamrick <jhamrick@…> (03/14/11 22:41:18)
- git-committer:
- Jessica B. Hamrick <jhamrick@…> (03/14/11 22:41:18)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/lib/ipp/attributegroup.py
r94211df r776a659 58 58 def __iter__(self): 59 59 return (a.name for a in self.attributes) 60 60 61 iterkeys = __iter__ 61 62 … … 69 70 70 71 def __delitem__(self, name): 71 self.attributes = filter(lambda x: x.name != name, self.attributes) 72 self.attributes = filter(lambda x: x.name != name, 73 self.attributes) 72 74 73 75 def append(self, attribute):
Note: See TracChangeset
for help on using the changeset viewer.