iperflexer.infrastructure.index_builder.grab_headline

iperflexer.infrastructure.index_builder.grab_headline(filename)[source]

A convenience function to grab the first non-empty line

Param:
  • filename: path to a file reachable from this directory
Returns:

First non-empty line stripped (or None if all are empty)