diff options
Diffstat (limited to 'patchtracker')
-rw-r--r-- | patchtracker/Patch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/patchtracker/Patch.py b/patchtracker/Patch.py index 4ec0594..c398694 100644 --- a/patchtracker/Patch.py +++ b/patchtracker/Patch.py @@ -16,7 +16,7 @@ class Diffstat: i.write(str(self.patch)) i.close() o.readline() - return [l.split(",") for l in o.readlines()] + return [map(lambda x: x.strip(), l.split(",")) for l in o.readlines()] def summary(self): return self.output[-1] |