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/printer.py

    r1a63bf7 r5fe360e  
    156156    def get_printer_attributes(self, request):
    157157        attributes = [(attr, getattr(self, attr)) for attr in self.attributes]
     158        attributes = map(lambda x: x if isinstance(x, (tuple, list)) else [x], attributes)
    158159        return attributes
    159160
Note: See TracChangeset for help on using the changeset viewer.