#NEWLINE# def print_headers_traditional( args ) : #NEWLINE# #INDENT# 'Prints FITS header(s) using the traditional 80-char format.\n\n    Parameters\n    ----------\n    args : argparse.Namespace\n        Arguments passed from the command-line as defined below.\n    ' #NEWLINE# for ( idx , filename ) in enumerate ( args . filename ) : #NEWLINE# #INDENT# if ( ( idx > 0 ) and ( not args . keywords ) ) : #NEWLINE# #INDENT# print ( ) #NEWLINE# #UNINDENT# try : #NEWLINE# #INDENT# formatter = HeaderFormatter ( filename ) #NEWLINE# print ( formatter . parse ( args . extensions , args . keywords , args . compressed ) , end = '' ) #NEWLINE# #UNINDENT# except IOError as e : #NEWLINE# #INDENT# log . error ( str ( e ) )