commit: 707b0340d69da92d6e3c72892c190a1e3fd0c2e1
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 9 01:35:41 2022 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat Jul 9 01:35:41 2022 +0000
URL: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=707b0340
eshowkw: make black happy
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
pym/gentoolkit/eshowkw/display_pretty.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pym/gentoolkit/eshowkw/display_pretty.py
b/pym/gentoolkit/eshowkw/display_pretty.py
index 82fd446..9a769f9 100644
--- a/pym/gentoolkit/eshowkw/display_pretty.py
+++ b/pym/gentoolkit/eshowkw/display_pretty.py
@@ -125,6 +125,6 @@ class string_rotator:
if x.find("+ -") != -1:
x = x.replace(" ", "-")
# strip all chars and remove empty lines
- if not strip or len(x.strip(" |-")) > 0 or '-' in x:
+ if not strip or len(x.strip(" |-")) > 0 or "-" in x:
tmp.append(x)
return tmp