def _format_lineno(session, line):
 if (session == 0):
  return str(line)
 return ('%s#%s' % (session, line))

def _format_lineno ( session , line ) : if ( session == 0 ) : return str ( line ) return ( '%s#%s' % ( session , line ) )
helper function to format line numbers properly .