From 31d1d442db1a729a8bad805a499d275bc2afb173 Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Sat, 18 Aug 2012 22:43:13 +0200
Subject: [PATCH] convert-constants: also export qlang.py constants

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

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Agata Murawska <agatamurawska@google.com>
---
 autotools/convert-constants | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/autotools/convert-constants b/autotools/convert-constants
index dbf0b13a4..d3d8a5fbb 100755
--- a/autotools/convert-constants
+++ b/autotools/convert-constants
@@ -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__":
-- 
GitLab