svn: r22095
This commit is contained in:
Paul Franklin 2013-04-24 01:01:47 +00:00
parent ad6ed26f70
commit f5eae77246
3 changed files with 1 additions and 3 deletions

View File

@ -288,7 +288,7 @@ class ParagraphStyle(object):
def get_alignment_text(self):
"""
Return a text string representing the alginment, either 'left',
Return a text string representing the alignment, either 'left',
'right', 'center', or 'justify'
"""
if self.align == PARA_ALIGN_LEFT:

View File

@ -409,7 +409,6 @@ class SheetParser(handler.ContentHandler):
if 'description' in attrs:
self.p.set_description(attrs['description'])
self.p.set_right_margin(glocale.float(attrs['rmargin']))
self.p.set_right_margin(glocale.float(attrs['rmargin']))
self.p.set_left_margin(glocale.float(attrs['lmargin']))
self.p.set_first_indent(glocale.float(attrs['first']))
try:

View File

@ -46,7 +46,6 @@ from functools import partial
#------------------------------------------------------------------------
from gramps.gen.const import GRAMPS_LOCALE as glocale
_ = glocale.translation.gettext
from gramps.gen.const import GRAMPS_LOCALE as glocale
from gramps.gen.display.name import displayer as global_name_display
from gramps.gen.errors import ReportError
from gramps.gen.lib import FamilyRelType, Person, NoteType