Add debugLevel and set iteration time python binding.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@674 36d66b0a-2a48-0410-832c-cd162a569da5
This commit is contained in:
Milan Broz
2011-11-06 22:44:44 +00:00
parent 4f2d4f98e3
commit 66f042953d
2 changed files with 39 additions and 0 deletions

View File

@@ -33,6 +33,9 @@ c = pycryptsetup.CryptSetup(
logFunc = log,
passwordDialog = askpassword)
# c.debugLevel(-1);
c.debugLevel(0);
c.iterationTime(1)
r = c.isLuks()
print "isLuks :", r
c.askyes(message = "Is there anybody out there?")