Ignore:
Timestamp:
Dec 20, 2011, 1:47:35 PM (12 years ago)
Author:
Jessica B. Hamrick <jhamrick@…>
Branches:
no-cups
Children:
cad7502
Parents:
f6c6897
git-author:
Jessica B. Hamrick <jhamrick@…> (12/20/11 13:47:35)
git-committer:
Jessica B. Hamrick <jhamrick@…> (12/20/11 13:47:35)
Message:

Fix some errors in server/, handle fatal errors better

File:
1 edited

Legend:

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

    r5fe360e r6effd50  
    5353        attrs = printer.get_printer_attributes(request)
    5454        ipp_attrs = []
    55         for attr, vals in enumerate(attrs):
     55        for attr, vals in attrs:
    5656            ipp_vals = [ipp.Value(
    5757                tag=printer_attribute_value_tags[attr],
     
    6464        attrs = job.get_job_attributes(request)
    6565        ipp_attrs = []
    66         for attr, vals in enumerate(attrs):
     66        for attr, vals in attrs:
    6767            ipp_vals = [ipp.Value(
    6868                tag=job_attribute_value_tags[attr],
Note: See TracChangeset for help on using the changeset viewer.