diff options
Diffstat (limited to 'patchtracker/Patch.py')
-rw-r--r-- | patchtracker/Patch.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patchtracker/Patch.py b/patchtracker/Patch.py index c398694..c79f95c 100644 --- a/patchtracker/Patch.py +++ b/patchtracker/Patch.py @@ -6,13 +6,13 @@ from glob import glob class Diffstat: def __init__(self, patch): self.patch = patch - i,o = os.popen2("diffstat") + i,o = os.popen2("diffstat -p1") i.write(str(patch)) i.close() self.output = o.readlines() def stats(self): - i,o = os.popen2("diffstat -t") + i,o = os.popen2("diffstat -p1 -t") i.write(str(self.patch)) i.close() o.readline() |