def is_luks(device): cs = CryptSetup(yesDialog = askyes, logFunc = dolog) return cs.isLuks(device)
def is_luks(device): cs = CryptSetup(device=device, yesDialog=askyes, logFunc=dolog, passwordDialog=askpassphrase) return cs.isLuks()
def is_luks(device): cs = CryptSetup(device=device, yesDialog = askyes, logFunc = dolog, passwordDialog = askpassphrase) return cs.isLuks()
def is_luks(device): cs = CryptSetup(device=device, yesDialog=yesDialog, logFunc=logFunc, passwordDialog=passwordDialog) return cs.isLuks()
def is_luks(device): cs = CryptSetup(yesDialog=askyes, logFunc=dolog) return cs.isLuks(device)
def is_luks(device): """Check to see if provided device is a LUKS device.""" cs = CryptSetup(device=device, yesDialog=yesDialog, logFunc=logFunc) return cs.isLuks()