chiark / gitweb /
mon/tripemon.in (xlate_bytes): Trim a character from the docstring.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 6 Sep 2017 19:59:00 +0000 (20:59 +0100)
committerMark 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

index f5b8f8d60ff018a358a69fb66fe9a6dc0c43229f..b65d8e1d7331db0a18486dd4c2c8d8eaca380f06 100644 (file)
@@ -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':