Skip to content

Commit 9a331c6

Browse files
Fixes Commented cells with # on Pause parsing (#1866)
* Initial WhiteSource configuration file * Fixes #1812
1 parent d57ce4e commit 9a331c6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/robotide/contrib/testrunner/TestRunnerAgent.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,9 @@ def __init__(self, pause_on_failure=False):
295295

296296
@staticmethod
297297
def is_breakpoint(name, attrs):
298-
return name == 'BuiltIn.Comment' and\
299-
str(attrs['args'][0]).upper().startswith(u"PAUSE")
298+
if len(attrs['args']) > 0:
299+
return name == 'BuiltIn.Comment' and \
300+
str(attrs['args'][0]).upper().startswith(u"PAUSE")
300301

301302
def pause(self):
302303
self._resume.clear()

0 commit comments

Comments
 (0)