#NEWLINE# def ShouldCfgdowngrade( version , current = CURRENT_VERSION ) : #NEWLINE# #INDENT# 'Decide whether cfgupgrade --downgrade should be called.\n\n  Given the current version and the version to change to, decide\n  if in the transition process cfgupgrade --downgrade should\n  be called\n\n  @param version: The version to upgrade to as (major, minor, revision)\n  @type version: tuple\n  @param current: The version to upgrade from as (major, minor, revision)\n  @type current: tuple\n  @rtype: bool\n  @return: True, if cfgupgrade --downgrade should be called.\n\n  ' #NEWLINE# return ( ( version [ 0 ] == current [ 0 ] ) and ( version [ 1 ] == ( version [ 1 ] - 1 ) ) )