1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
import workstation from translate import N_ import os import pcmcia class InstallClass(workstation.InstallClass): name = N_("Laptop") pixmap = "laptop-support.png" sortPriority = 5000 if pcmcia.pcicType(): default = 1 def __init__(self, expert): workstation.InstallClass.__init__(self, expert)