This commit is contained in:
Jon Tibble 2011-02-10 23:00:15 +00:00
parent 12607020be
commit ae2b625d4f

View File

@ -178,11 +178,11 @@ class HorizontalType(object):
""" """
Return a string representation of a horizontal type. Return a string representation of a horizontal type.
""" """
If horizontal_type == Horizontal.Right: if horizontal_type == Horizontal.Right:
return u'right' return u'right'
elif horizontal_type == Horizontal.Center: elif horizontal_type == Horizontal.Center:
return u'center' return u'center'
else else:
return u'left' return u'left'
@ -199,11 +199,11 @@ class VerticalType(object):
""" """
Return a string representation of a vertical type. Return a string representation of a vertical type.
""" """
If vertical_type == VerticalType.Bottom: if vertical_type == VerticalType.Bottom:
return u'bottom' return u'bottom'
elif vertical_type == VerticalType.Middle: elif vertical_type == VerticalType.Middle:
return u'middle' return u'middle'
else else:
return u'top' return u'top'