commit:     76c188b5189375b3b3b7c92f31491990e29a1669
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  9 10:47:54 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb  9 10:48:13 2022 +0000
URL:        https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=76c188b5

*/*: reformat with latest Black 22.1.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 pym/gentoolkit/eclean/cli.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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"))

Reply via email to