def warn_default(version):
 if (config.warn.ignore_bug_before == 'None'):
  return True
 if (config.warn.ignore_bug_before == 'all'):
  return False
 if (config.warn.ignore_bug_before >= version):
  return False
 return True

def warn_default ( version ) : if ( config . warn . ignore_bug_before == 'None' ) : return True if ( config . warn . ignore_bug_before == 'all' ) : return False if ( config . warn . ignore_bug_before >= version ) : return False return True
return true iff we should warn about bugs fixed after a given version .