• Jose A. Lopes's avatar
    Move 'BuildVersion' to 'lib/utils/version.py' · effc1b86
    Jose A. Lopes authored
    
    
    Functions 'BuildVersion' and 'SplitVersion' are no longer needed by
    the constants and, given that they are not constants, they should be
    moved elsewhere.  Since they are only used by 'cfgupgrade' and tests,
    these functions are moved to 'lib/utils/version.py' and references to
    them updated.  Note that in 'lib/server/masterd.py', local variable
    'version' is renamed 'ver' to avoid redefining the import
    'ganeti.utils.version'.
    Signed-off-by: default avatarJose A. Lopes <jabolopes@google.com>
    Reviewed-by: default avatarThomas Thrainer <thomasth@google.com>
    effc1b86
Makefile.am 72 KB