Revision a8ee6e94 tools/cfgupgrade

b/tools/cfgupgrade
141 141
    raise Error("Inconsistent configuration: found config_version in"
142 142
                " configuration file")
143 143

  
144
  # Upgrade from 2.0/2.1 to 2.2
145
  if config_major == 2 and config_minor in (0, 1):
144
  # Upgrade from 2.0/2.1/2.2 to 2.3
145
  if config_major == 2 and config_minor in (0, 1, 2):
146 146
    if config_revision != 0:
147 147
      logging.warning("Config revision is %s, not 0", config_revision)
148 148

  
149
    config_data["version"] = constants.BuildVersion(2, 2, 0)
149
    config_data["version"] = constants.BuildVersion(2, 3, 0)
150 150

  
151
  elif config_major == 2 and config_minor == 2:
151
  elif config_major == 2 and config_minor == 3:
152 152
    logging.info("No changes necessary")
153 153

  
154 154
  else:

Also available in: Unified diff