def ValidateCombinedSourceReferencesString(source_refs):
 if (len(source_refs) > SOURCE_REFERENCES_MAX_SIZE):
  raise validation.ValidationError(('Total source reference(s) size exceeds the limit: %d > %d' % (len(source_refs), SOURCE_REFERENCES_MAX_SIZE)))
 for ref in source_refs.splitlines():
  ValidateSourceReference(ref.strip())

def ValidateCombinedSourceReferencesString ( source_refs ) : if ( len ( source_refs ) > SOURCE_REFERENCES_MAX_SIZE ) : raise validation . ValidationError ( ( 'Total source reference(s) size exceeds the limit: %d > %d' % ( len ( source_refs ) , SOURCE_REFERENCES_MAX_SIZE ) ) ) for ref in source_refs . splitlines ( ) : ValidateSourceReference ( ref . strip ( ) )
determines if source_refs contains a valid list of source references .