Restore depricated function.

develop 2.2.20_rc1
Mike Hiretsky 13 years ago
parent eb3033bce5
commit a1aa838f31

@ -986,6 +986,13 @@ def getSquashList():
return map(lambda x:{"lzma":"xz"}.get(x,x), return map(lambda x:{"lzma":"xz"}.get(x,x),
list(set(usesSquashFs) & wantMethod)) list(set(usesSquashFs) & wantMethod))
def getAvailableX11Drivers(prefix="/"):
"""Get available x11 drivers (Depricated Function)"""
xorg_modules_dir = path.join(prefix,'usr/lib/xorg/modules/drivers')
return map(lambda x: x[:-7],
filter(lambda x:x.endswith('_drv.so'),
listDirectory(xorg_modules_dir)))
def lspci(filtername=None,shortInfo=False): def lspci(filtername=None,shortInfo=False):
"""Get hash of lspci, filtred by filtername. If shortInfo, then """Get hash of lspci, filtred by filtername. If shortInfo, then
type,vendor and name get only first word type,vendor and name get only first word

Loading…
Cancel
Save