def __repr__(self):
s = None<EOL>try:<EOL><INDENT>width = <NUM_LIT:7> if hasattr(self, '<STR_LIT>') else <NUM_LIT:16><EOL>s = '<STR_LIT>'.format(self.show, self.time)<EOL>s += '<STR_LIT>'.format(self.net, width, width)<EOL>s += '<STR_LIT>'.format(self.viewers, self.rating)<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>s += '<STR_LIT>'.format(self.share)<EOL><DEDENT><DEDENT>except TypeError:<EOL><INDENT>s = None<EOL><DEDENT>finally:<EOL><INDENT>return s<EOL><DEDENT>
Format row for entry object in a ratings chart