components/policy/tools/syntax_check_policy_template_json.py
def _CheckDeprecatedFutureField(self, original_policy, new_policy,
                                  policy_name):
    '''The 'future' flag has been deprecated, it shouldn't be used for any new
       policy.'''
    if ('future' in new_policy
        and (original_policy is None or 'future' not in original_policy)):
      self.non_compatibility_error_count += 1
      self._Error(
          "The 'future' flag has been deprecated, please use the 'future_on' "
          "list instead. Search the flag documentation at the top of the "
          "policy_templates.json file for more information.", 'policy',
          policy_name)
The 'future' flag has been deprecated, it shouldn't be used for any new
       policy.
The 'future' flag has been deprecated, it shouldn't be used for any new
policy.
The ' future ' flag has been deprecated it shouldn ' t be used for any new policy .
def _CheckDeprecatedFutureField(self, original_policy, new_policy,
                                  policy_name):
    if ('future' in new_policy
        and (original_policy is None or 'future' not in original_policy)):
      self.non_compatibility_error_count += 1
      self._Error(
          "The 'future' flag has been deprecated, please use the 'future_on' "
          "list instead. Search the flag documentation at the top of the "
          "policy_templates.json file for more information.", 'policy',
          policy_name)
def _CheckDeprecatedFutureField ( self , original_policy , new_policy , policy_name ) : if ( 'future' in new_policy and ( original_policy is None or 'future' not in original_policy ) ) : self . non_compatibility_error_count += 1 self . _Error ( "The 'future' flag has been deprecated, please use the 'future_on' " "list instead. Search the flag documentation at the top of the " "policy_templates.json file for more information." , 'policy' , policy_name )
The 'future' flag has been deprecated, it shouldn't be used for any new
policy.
The ' future ' flag has been deprecated it shouldn ' t be used for any new policy .
'''The 'future' flag has been deprecated, it shouldn't be used for any new
       policy.'''
self
original_policy
new_policy
policy_name