From 178a344ba503d8e41990b595fe0bef978ae1f514 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Torkelsson?= <(none)> Date: Thu, 23 Feb 2017 13:00:06 +0100 Subject: [PATCH] Fix end of line strip issue. * Reapply f2e8fb3c3180bbe7c96fabf995b679e43b348719 that got lost in refactorization. --- bart/slurm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bart/slurm.py b/bart/slurm.py index 7cef97a..1a1fd9a 100644 --- a/bart/slurm.py +++ b/bart/slurm.py @@ -80,7 +80,7 @@ def getNextLogEntry(self): try: entry = self.results.pop(0) - return entry[:-1].split('|') + return entry.strip().split('|') except IndexError: return None