Changeset 5fe360e for server/lib/gutenbach/server/printer.py
- Timestamp:
- Dec 20, 2011, 1:07:42 PM (12 years ago)
- Branches:
- no-cups
- Children:
- f6c6897
- Parents:
- 71bfce0
- git-author:
- Jessica B. Hamrick <jhamrick@…> (12/20/11 13:07:42)
- git-committer:
- Jessica B. Hamrick <jhamrick@…> (12/20/11 13:07:42)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/lib/gutenbach/server/printer.py
r1a63bf7 r5fe360e 156 156 def get_printer_attributes(self, request): 157 157 attributes = [(attr, getattr(self, attr)) for attr in self.attributes] 158 attributes = map(lambda x: x if isinstance(x, (tuple, list)) else [x], attributes) 158 159 return attributes 159 160
Note: See TracChangeset
for help on using the changeset viewer.