67
63
graphwidth = width - countwidth - self.maxname
75
66
while (self.maxtotal / factor) > graphwidth:
83
72
s += ' %-*s | %*.d ' % (self.maxname, file, countwidth, fstat.total)
85
74
# If diffstat runs out of room it doesn't print anything, which
86
75
# isn't very useful, so always print at least one + or 1
97
81
(len(self.stats), self.total_adds, self.total_removes)
101
84
if __name__ == '__main__':