[open-allure-ds] push by jg07...@gmail.com - Fixed bug in scriptParser on odp2wts side on 2011-10-02 09:16 GMT

0 views
Skip to first unread message

open-al...@googlecode.com

unread,
Oct 2, 2011, 5:17:03 AM10/2/11
to open-al...@googlegroups.com
Revision: 6ad5b2420f90
Author: Jo...@John-PC.lan
Date: Sun Oct 2 02:15:19 2011
Log: Fixed bug in scriptParser on odp2wts side
http://code.google.com/p/open-allure-ds/source/detail?r=6ad5b2420f90

Modified:
/odp2wts/scriptParser.py

=======================================
--- /odp2wts/scriptParser.py Thu Sep 29 22:45:26 2011
+++ /odp2wts/scriptParser.py Sun Oct 2 02:15:19 2011
@@ -270,6 +270,8 @@
if len(question.questionTexts)>0:
seq.sequence.append(question)

+ # dumpSequence(seq, questionMode)
+
# second pass to match responseSideLinks to tags and adjust actions
tags = [ question.tag.lower() for question in seq.sequence ]
for qnum, question in enumerate( seq.sequence ):
@@ -277,7 +279,7 @@
if answer.responseSideLink != "":
if answer.responseSideLink.lower() in tags:
# remove link
- answer.action = tags.index(answer.responseSideLink) -
qnum
+ answer.action =
tags.index(answer.responseSideLink.lower()) - qnum
answer.responseSideLink = ""

dumpSequence(seq, questionMode)

Reply all
Reply to author
Forward
0 new messages