diff options
| -rw-r--r-- | pym/gentoolkit/eclean/cli.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/gentoolkit/eclean/cli.py b/pym/gentoolkit/eclean/cli.py index bb6deeb..2ad2ae9 100644 --- a/pym/gentoolkit/eclean/cli.py +++ b/pym/gentoolkit/eclean/cli.py @@ -309,7 +309,7 @@ def parseSize(size): @raise ParseArgsException: in case of failure """ - units = {"G": (1024 ** 3), "M": (1024 ** 2), "K": 1024, "B": 1} + units = {"G": (1024**3), "M": (1024**2), "K": 1024, "B": 1} try: match = re.match(r"^(?P<value>\d+)(?P<unit>[GMKBgmkb])?$", size) size = int(match.group("value")) |
