aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-02-09 10:47:54 +0000
committerSam James <sam@gentoo.org>2022-02-09 10:48:13 +0000
commit76c188b5189375b3b3b7c92f31491990e29a1669 (patch)
tree54c6f6038c47119d489d49147a32620d2990515a
parentFix flake F401 'imported but unused' error (diff)
downloadgentoolkit-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.py2
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"))