mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 18:05:36 -04:00
Expose CalamaresUtils::obscure as libcalamares.utils.obscure.
This commit is contained in:
parent
f8078be2fd
commit
d99d7bfdff
1 changed files with 9 additions and 0 deletions
|
@ -206,6 +206,15 @@ BOOST_PYTHON_MODULE( libcalamares )
|
|||
"subprocess.CalledProcessError if something went wrong."
|
||||
)
|
||||
);
|
||||
bp::def(
|
||||
"obscure",
|
||||
&CalamaresPython::obscure,
|
||||
bp::args( "s" ),
|
||||
"Simple string obfuscation function based on KStringHandler::obscure.\n"
|
||||
"Returns a string, generated using a simple symmetric encryption.\n"
|
||||
"Applying the function to a string obscured by this function will result "
|
||||
"in the original string."
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue