parameters: (glob, comment_prefix)
return_statement: return printed_count
docstring: Prints names of all files missing a copyright message.
  
      Finds all glob-matching files under the current directory and checks if they
      contain the copyright message.  Prints the names of all the files that
      don't.
  
      Returns the total number of file names printed.
docstring_summary: Prints names of all files missing a copyright message.
docstring_tokens: Prints names of all files missing a copyright message .
function: def alert_if_no_copyright(glob, comment_prefix):
      """Prints names of all files missing a copyright message.
  
      Finds all glob-matching files under the current directory and checks if they
      contain the copyright message.  Prints the names of all the files that
      don't.
  
      Returns the total number of file names printed.
      """
      printed_count = 0
      for file in filtered_descendants(glob):
          has_copyright = False
          with open(file) as contents:
              for line in contents:
                  if COPYRIGHTRE.search(line):
                      has_copyright = True
                      break
          if not has_copyright:
              print(file, ' has no copyright message.')
              printed_count += 1
      return printed_count
function_tokens: def alert_if_no_copyright ( glob , comment_prefix ) : printed_count = 0 for file in filtered_descendants ( glob ) : has_copyright = False with open ( file ) as contents : for line in contents : if COPYRIGHTRE . search ( line ) : has_copyright = True break if not has_copyright : print ( file , ' has no copyright message.' ) printed_count += 1 return printed_count