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

convert-constants: also export qlang.py constants


Since these will be needed for Haskell's implementation of query2.

Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarAgata Murawska <agatamurawska@google.com>
parent 2cdaf225
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,7 @@ import types
from ganeti import compat
from ganeti import constants
from ganeti import luxi
from ganeti import qlang
#: Constant name regex
CONSTANT_RE = re.compile("^[A-Z][A-Z0-9_-]+$")
......@@ -227,6 +228,7 @@ def Convert(module, prefix):
def main():
print Convert(constants, "")
print Convert(luxi, "luxi")
print Convert(qlang, "qlang")
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