Adding session05 homework

I think at this point it hadn't yet occurred to me that if I leave it
blank, it will line up with everything else from Element that isn't
overridden.

On Tue, Nov 11, 2014 at 2:04 PM, Christopher H.Barker, PhD <
notifications@github.com> wrote:

> In Students/RPerkins/session06/html_render.py:
>
> > +
> > +class OneLineTag(Element):
> > +
> > +    def render(self, file_out, ind=""):
> > +        """Write single line elements to the file_out StringIO object"""
> > +
> > +        file_out.write('{tag_indent}{start_tag}{content}{end_tag}\n'.format
> > +                      (tag_indent=self.indent, start_tag=self.tag,
> > +                       content=self.content[0], end_tag=self.endtag))
> > +
> > +
> > +class Title(OneLineTag):
> > +
> > +    tag = '<title>'
> > +    endtag = '</title>'
> > +    indent = '        '
>
> why more indent here?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/UWPCE-PythonCert/IntroToPython/pull/62/files#r20184207>
> .
>



-- 
*Robert Perkins*
*Mobile:* 425-239-9269
*Email:* meshmote@gmail.com
 *Professional Profile
<http://www.linkedin.com/pub/robert-perkins/9/a6a/a91>*
<http://maps.google.com/maps?q=&hl=en>
See who we know in common
<http://www.linkedin.com/e/wwk/29505421/?hs=false&tok=0zCreXIp0dhRQ1>Want a
signature like this?
<http://www.linkedin.com/e/sig/29505421/?hs=false&tok=1-_hPrm6YdhRQ1>