def _get_changed_files():
 if (not ci_diff_helper):
  return None
 try:
  config = ci_diff_helper.get_config()
 except OSError:
  return None
 changed_files = ci_diff_helper.get_changed_files('HEAD', config.base)
 changed_files = set(['./{}'.format(filename) for filename in changed_files])
 return changed_files

def _get_changed_files ( ) : if ( not ci_diff_helper ) : return None try : config = ci_diff_helper . get_config ( ) except OSError : return None changed_files = ci_diff_helper . get_changed_files ( 'HEAD' , config . base ) changed_files = set ( [ './{}' . format ( filename ) for filename in changed_files ] ) return changed_files
returns a list of files changed for this pull request / push .