Changeset 441604f


Ignore:
Timestamp:
Jan 25, 2012, 4:36:04 PM (12 years ago)
Author:
Steven Allen <steven@…>
Branches:
no-cups
Parents:
ca1cfa9
git-author:
Steven Allen <steven@…> (01/25/12 16:36:04)
git-committer:
Steven Allen <steven@…> (01/25/12 16:36:04)
Message:

Convert a few tabs to spaces.

Location:
server/lib/gutenbach
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • server/lib/gutenbach/ipp/core/attributegroup.py

    rffbe41d r441604f  
    7575    def __delitem__(self, name):
    7676        self.attributes = filter(lambda x: x.name != name,
    77                                 self.attributes)
     77                self.attributes)
    7878
    7979    def append(self, attribute):
  • server/lib/gutenbach/server/errors.py

    r5e70cc2 r441604f  
    88class InvalidJobException(Exception):
    99    def __init__(self, jobid):
    10         self.jobid = jobid
     10        self.jobid = jobid
    1111    def __str__(self):
    12         return "Job does not exist: %d" % self.jobid
     12        return "Job does not exist: %d" % self.jobid
    1313
    1414class InvalidPrinterStateException(Exception):
  • server/lib/gutenbach/server/job.py

    rca1cfa9 r441604f  
    1212    def __init__(self, job_id=None, creator=None, name=None,
    1313                 priority=None, document=None):
    14         """Create an empty Gutenbach job.
     14        """Create an empty Gutenbach job.
    1515
    1616        Parameters
     
    2626        document : file object
    2727            A file object containing the job data.
    28 
    29         """
     28        """
    3029
    3130        self.player = None
    3231        self.document = None
    3332
    34         self.id = job_id
     33        self.id = job_id
    3534        self.creator = creator
    3635        self.name = name
     
    4342
    4443    def __repr__(self):
    45         return str(self)
     44        return str(self)
    4645
    4746    def __str__(self):
Note: See TracChangeset for help on using the changeset viewer.