#NEWLINE# def strformat( self ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# path = os . path . relpath ( self . filename ) #NEWLINE# #UNINDENT# except ValueError : #NEWLINE# #INDENT# path = os . path . abspath ( self . filename ) #NEWLINE# #UNINDENT# return ( 'File "%s", line %d' % ( path , self . line ) )