diff options
author | Sean Finney <seanius@debian.org> | 2008-06-28 20:08:41 +0200 |
---|---|---|
committer | Sean Finney <seanius@debian.org> | 2008-06-28 20:08:41 +0200 |
commit | 986ab36b2f35c9fec56eef1ca4a740a4a6230c99 (patch) | |
tree | 4060c5e63d4f659deed13eb7b9061a694ef19f82 | |
parent | 645a117e4a8d0bbe164b5624eaf40b6f66da9b9c (diff) | |
download | patch-tracker-986ab36b2f35c9fec56eef1ca4a740a4a6230c99.tar.gz |
strip surrounding ws from diffstat output
-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] |