Skip to content
Snippets Groups Projects
Commit d5cc16d7 authored by Iustin Pop's avatar Iustin Pop
Browse files

Enable conversion of errors constants


These will be needed for the serialisation of errors.

Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent 47130d50
No related branches found
No related tags found
No related merge requests found
...@@ -25,11 +25,12 @@ ...@@ -25,11 +25,12 @@
import re import re
import types import types
from ganeti import _autoconf
from ganeti import compat from ganeti import compat
from ganeti import constants from ganeti import constants
from ganeti import errors
from ganeti import luxi from ganeti import luxi
from ganeti import qlang from ganeti import qlang
from ganeti import _autoconf
#: Constant name regex #: Constant name regex
...@@ -293,6 +294,7 @@ def main(): ...@@ -293,6 +294,7 @@ def main():
print Convert(luxi, "luxi") print Convert(luxi, "luxi")
print Convert(qlang, "qlang") print Convert(qlang, "qlang")
print Convert(_autoconf, "autoconf") print Convert(_autoconf, "autoconf")
print Convert(errors, "errors")
if __name__ == "__main__": if __name__ == "__main__":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment