« Previous | Next » 

Revision effc1b86

IDeffc1b86389b074678fda59c54ee0ae1e1db0e25
Parent 285d04a1
Child e4940da5

Added by Jose A. Lopes over 7 years ago

Move 'BuildVersion' to 'lib/utils/version.py'

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: Jose A. Lopes <>
Reviewed-by: Thomas Thrainer <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences