Ignore:
Timestamp:
Dec 27, 2011, 10:20:10 PM (12 years ago)
Author:
Jessica B. Hamrick <jhamrick@…>
Branches:
no-cups
Children:
e58af05
Parents:
ee8e6d0
git-author:
Jessica B. Hamrick <jhamrick@…> (12/27/11 22:20:10)
git-committer:
Jessica B. Hamrick <jhamrick@…> (12/27/11 22:20:10)
Message:

Add support for chunking, i.e. receiving file data

File:
1 edited

Legend:

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

    ree8e6d0 r7c143c9  
    6767        self.jobs = {}
    6868
    69         self._next_jobid = 0
     69        # cups ignores jobs with id 0, so we have to start at 1
     70        self._next_jobid = 1
    7071
    7172    def __getattr__(self, attr):
     
    218219        self.jobs[job_id] = job
    219220        self.active_jobs.append(job_id)
    220         print self.active_jobs
    221221        return job
    222222
Note: See TracChangeset for help on using the changeset viewer.