def ShouldCfgdowngrade(version, current=CURRENT_VERSION):
  return version[0] == current[0] and version[1] == current[1] - 1
Decide whether cfgupgrade --downgrade should be called.
dataset/ETHPy150Open ganeti/ganeti/lib/utils/version.py/ShouldCfgdowngrade