summaryrefslogtreecommitdiff
path: root/pym
diff options
context:
space:
mode:
Diffstat (limited to 'pym')
-rw-r--r--pym/gentoolkit/eshowkw/display_pretty.py2
1 files changed, 1 insertions, 1 deletions
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