diff options
Diffstat (limited to 'tests/system')
-rw-r--r-- | tests/system/suite_tools/tst_git_local/test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/system/suite_tools/tst_git_local/test.py b/tests/system/suite_tools/tst_git_local/test.py index f009cf5fa0..9703e450e8 100644 --- a/tests/system/suite_tools/tst_git_local/test.py +++ b/tests/system/suite_tools/tst_git_local/test.py @@ -87,7 +87,7 @@ def __clickCommit__(count): # find commit try: # Commits are listed in reverse chronologic order, so we have to invert count - line = filter(lambda line: line.startswith("commit"), content.splitlines())[-count] + line = filter(lambda line: line.startswith("commit"), content.splitlines())[-count].strip() commit = line.split(" ", 1)[1] except: test.fail("Could not find the %d. commit - leaving test" % count) |