From 857eb02a5c2ba0c7c704df1475640b29d98e0990 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Matox?= Date: Thu, 27 Jul 2006 11:37:26 +0000 Subject: [PATCH] parser_tools.py (del_token): rename arguments to be coherent with other functions git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14499 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/lyx2lyx/parser_tools.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/lyx2lyx/parser_tools.py b/lib/lyx2lyx/parser_tools.py index c204cd73a3..379f961bb3 100644 --- a/lib/lyx2lyx/parser_tools.py +++ b/lib/lyx2lyx/parser_tools.py @@ -118,13 +118,13 @@ def get_layout(line, default_layout): return default_layout -def del_token(lines, token, i, j): - k = find_token_exact(lines, token, i, j) +def del_token(lines, token, start, end): + k = find_token_exact(lines, token, start, end) if k == -1: - return j + return end else: del lines[k] - return j-1 + return end - 1 # Finds the paragraph that contains line i. -- 2.39.2