Commit 5523732b authored by Jose A. Lopes's avatar Jose A. Lopes
Browse files

Hs2Py constants: additional module jstore



Add constants from additional modules ('ganeti.jstore') to the Haskell
to Python constant generation.
Signed-off-by: default avatarJose A. Lopes <jabolopes@google.com>
Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
parent 88ac4075
......@@ -298,7 +298,7 @@ def Convert(module, prefix):
def main():
print Convert(jstore, "jstore")
pass
if __name__ == "__main__":
......
......@@ -31,7 +31,7 @@ from ganeti import utils
from ganeti import pathutils
JOBS_PER_ARCHIVE_DIRECTORY = 10000
JOBS_PER_ARCHIVE_DIRECTORY = constants.JSTORE_JOBS_PER_ARCHIVE_DIRECTORY
def _ReadNumericFile(file_name):
......
......@@ -4548,3 +4548,8 @@ errorsEcodeAll =
, errorsEcodeInval
, errorsEcodeEnviron
]
-- * Jstore related constants
jstoreJobsPerArchiveDirectory :: Int
jstoreJobsPerArchiveDirectory = 10000
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment