Revision b830193c tools/cfgupgrade

b/tools/cfgupgrade
52 52
#: Target major version we will upgrade to
53 53
TARGET_MAJOR = 2
54 54
#: Target minor version we will upgrade to
55
TARGET_MINOR = 6
55
TARGET_MINOR = 7
56 56

  
57 57

  
58 58
class Error(Exception):
......
204 204
    raise Error("Inconsistent configuration: found config_version in"
205 205
                " configuration file")
206 206

  
207
  # Upgrade from 2.0/2.1/2.2/2.3 to 2.4
208
  if config_major == 2 and config_minor in (0, 1, 2, 3, 4, 5):
207
  # Upgrade from 2.{0..6} to 2.7
208
  if config_major == 2 and config_minor in (0, 1, 2, 3, 4, 5, 6):
209 209
    if config_revision != 0:
210 210
      logging.warning("Config revision is %s, not 0", config_revision)
211 211

  

Also available in: Unified diff