Few typos

svn: r1480
This commit is contained in:
Alex Roitman 2003-04-30 03:17:54 +00:00
parent 5d09a26cd2
commit 71b6932507

View File

@ -500,13 +500,13 @@ def register_draw_doc(name,classref,paper,style, ext):
def register_relcalc(func, languages): def register_relcalc(func, languages):
"""Register a relationshp calculator""" """Register a relationshp calculator"""
import sys import sys
global _relcal_task global _relcalc_task
if sys.environ.get('LANG') in languages: if os.environ["LANG"] in languages:
_relcalc_task = func _relcalc_task = func
def relationship_function(): def relationship_function():
global _relcal_task global _relcalc_task
return _relcalc_task return _relcalc_task
#------------------------------------------------------------------------- #-------------------------------------------------------------------------