diff options
author | Sam James <sam@gentoo.org> | 2022-02-09 10:47:54 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-02-09 10:48:13 +0000 |
commit | 76c188b5189375b3b3b7c92f31491990e29a1669 (patch) | |
tree | 54c6f6038c47119d489d49147a32620d2990515a | |
parent | Fix flake F401 'imported but unused' error (diff) | |
download | gentoolkit-76c188b5189375b3b3b7c92f31491990e29a1669.tar.gz gentoolkit-76c188b5189375b3b3b7c92f31491990e29a1669.tar.bz2 gentoolkit-76c188b5189375b3b3b7c92f31491990e29a1669.zip |
*/*: reformat with latest Black 22.1.0
Signed-off-by: Sam James <sam@gentoo.org>
-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")) |