def __init__(self, connection, cups_name, details): self.connection = connection self.cups_name = cups_name self.details = details self.update_attrs() AbstractPrinter.__init__(self)
def __init__(self, app, name=_('Default printer')): self.app = app self.name = name AbstractPrinter.__init__(self)