Changeset 5fe360e for server/lib/gutenbach/server/job.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/job.py
r1a63bf7 r5fe360e 64 64 @property 65 65 def job_k_octets(self): 66 return "job-k-octets"66 return 1 67 67 68 68 @property … … 76 76 def get_job_attributes(self, request): 77 77 attributes = [(attr, getattr(self, attr)) for attr in self.attributes] 78 attributes = map(lambda x: x if isinstance(x, (tuple, list)) else [x], attributes) 78 79 return attributes 79 80
Note: See TracChangeset
for help on using the changeset viewer.