Add constants from additional modules ('ganeti.jstore') to the Haskell
to Python constant generation.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
def main():
- print Convert(jstore, "jstore")
+ pass
if __name__ == "__main__":
from ganeti import pathutils
-JOBS_PER_ARCHIVE_DIRECTORY = 10000
+JOBS_PER_ARCHIVE_DIRECTORY = constants.JSTORE_JOBS_PER_ARCHIVE_DIRECTORY
def _ReadNumericFile(file_name):
, errorsEcodeInval
, errorsEcodeEnviron
]
+
+-- * Jstore related constants
+
+jstoreJobsPerArchiveDirectory :: Int
+jstoreJobsPerArchiveDirectory = 10000