Ignore:
Timestamp:
Dec 20, 2011, 1:07:42 PM (12 years ago)
Author:
Jessica B. Hamrick <jhamrick@…>
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)
Message:

Converting server code to rely more on the ipp/ code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/lib/gutenbach/server/job.py

    r1a63bf7 r5fe360e  
    6464    @property
    6565    def job_k_octets(self):
    66         return "job-k-octets"
     66        return 1
    6767
    6868    @property
     
    7676    def get_job_attributes(self, request):
    7777        attributes = [(attr, getattr(self, attr)) for attr in self.attributes]
     78        attributes = map(lambda x: x if isinstance(x, (tuple, list)) else [x], attributes)
    7879        return attributes
    7980   
Note: See TracChangeset for help on using the changeset viewer.