1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2024-10-26 07:55:06 +03:00

generator: Initialize function_classes directly

Signed-off-by: Philipp Hahn <hahn@univention.de>
This commit is contained in:
Philipp Hahn 2018-11-20 11:14:46 +01:00 committed by Jano Tomko
parent 94b30b7fb7
commit a0798b9bbc

View File

@ -1099,9 +1099,9 @@ functions_noexcept = {
'virNWFilterBindingGetPortDev': True,
}
function_classes = {}
function_classes["None"] = []
function_classes = {
"None": []
} # type: Dict[str, List[Any]]
# Functions returning an integral type which need special rules to
# check for errors and raise exceptions.