Show More
@@ -305,7 +305,7 b' def size(mctx, x):' | |||||
305 | elif expr[0].isdigit or expr[0] == '.': |
|
305 | elif expr[0].isdigit or expr[0] == '.': | |
306 | a = _sizetoint(expr) |
|
306 | a = _sizetoint(expr) | |
307 | b = _sizetomax(expr) |
|
307 | b = _sizetomax(expr) | |
308 | m = lambda x: x >=a and x <= b |
|
308 | m = lambda x: x >= a and x <= b | |
309 | else: |
|
309 | else: | |
310 | raise error.ParseError(_("couldn't parse size"), expr) |
|
310 | raise error.ParseError(_("couldn't parse size"), expr) | |
311 |
|
311 |
General Comments 0
You need to be logged in to leave comments.
Login now