Hs2Py constants: add 'value*' and 'niccDefaults'
authorJose A. Lopes <jabolopes@google.com>
Tue, 15 Oct 2013 15:32:55 +0000 (17:32 +0200)
committerJose A. Lopes <jabolopes@google.com>
Mon, 28 Oct 2013 10:04:49 +0000 (11:04 +0100)
commita2b55ccddfd7414b58bb71bdcf54c2f2c36b7dbc
tree4d640a44360d91e68691c6ea91d694ab2b9972c6
parent07e30af5f5e27c060821d4e215bea0e5ee005bb2
Hs2Py constants: add 'value*' and 'niccDefaults'

* add group of constants 'value*' and constant 'niccDefaults' to the
  Haskell to Python constant generation

* add 'PythonNone' to represent the 'None' is Haskell to Python
  generated code

Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
lib/constants.py
src/Ganeti/ConstantUtils.hs
src/Ganeti/HsConstants.hs