chiark
/
gitweb
/
~mdw
/
tripe
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0adda4f
)
mon/tripemon.in (xlate_bytes): Trim a character from the docstring.
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 6 Sep 2017 19:59:00 +0000
(20:59 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 14 Jun 2018 09:34:25 +0000
(10:34 +0100)
Now it fits into my (unusually narrow) editor column. Yay.
mon/tripemon.in
patch
|
blob
|
blame
|
history
diff --git
a/mon/tripemon.in
b/mon/tripemon.in
index f5b8f8d60ff018a358a69fb66fe9a6dc0c43229f..b65d8e1d7331db0a18486dd4c2c8d8eaca380f06 100644
(file)
--- a/
mon/tripemon.in
+++ b/
mon/tripemon.in
@@
-1234,7
+1234,7
@@
def xlate_time(t):
return '%04d:%02d:%02d %02d:%02d:%02d (%.1f %s ago)' % \
(YY, MM, DD, hh, mm, ss, ago, unit)
def xlate_bytes(b):
- """Translate a
number of bytes
into something a human might want to read."""
+ """Translate a
raw byte count
into something a human might want to read."""
suff = 'B'
b = int(b)
for s in 'KMG':