Ignore:
Timestamp:
Jan 10, 2012, 7:25:33 PM (12 years ago)
Author:
Jessica B. Hamrick <jhamrick@…>
Branches:
no-cups
Children:
b01b6d1
Parents:
ce2abc5
git-author:
Jessica B. Hamrick <jhamrick@…> (01/10/12 19:25:33)
git-committer:
Jessica B. Hamrick <jhamrick@…> (01/10/12 19:25:33)
Message:

Clean up core ipp code a bit

File:
1 edited

Legend:

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

    rce2abc5 rffbe41d  
    1 #import alsaaudio as aa
    21from . import InvalidJobException, InvalidPrinterStateException
    32from . import Job
     
    4544       
    4645
    47     #def __init__(self, name, card, mixer):
    4846    def __init__(self, name):
    4947
     
    5250        self.time_created = int(time.time())
    5351        self.state = "idle"
    54 
    55         # if card >= len(aa.cards()):
    56         #     raise aa.ALSAAudioError(
    57         #       "Audio card at index %d does not exist!" % card)
    58         # elif mixer not in aa.mixers(card):
    59         #     raise aa.ALSAAudioError(
    60         #       "Audio mixer '%s' does not exist!" % mixer)
    61        
    62         # self.card = card
    63         # self.mixer = mixer
    6452
    6553        self.finished_jobs = []
Note: See TracChangeset for help on using the changeset viewer.