Show More
@@ -287,7 +287,7 def grep(mctx, x): | |||||
287 |
|
287 | |||
288 | def _sizetomax(s): |
|
288 | def _sizetomax(s): | |
289 | try: |
|
289 | try: | |
290 | s = s.strip() |
|
290 | s = s.strip().lower() | |
291 | for k, v in util._sizeunits: |
|
291 | for k, v in util._sizeunits: | |
292 | if s.endswith(k): |
|
292 | if s.endswith(k): | |
293 | # max(4k) = 5k - 1, max(4.5k) = 4.6k - 1 |
|
293 | # max(4k) = 5k - 1, max(4.5k) = 4.6k - 1 |
General Comments 0
You need to be logged in to leave comments.
Login now