summaryrefslogtreecommitdiff
path: root/scripts/utils.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2019-10-01 14:10:06 +0200
committerFlorian Bruhin <me@the-compiler.org>2019-10-01 14:10:06 +0200
commit8aa33c673e422cea908a90e3470282a448a27233 (patch)
tree62869156b7e3146e6a3621579874116a3cca19d4 /scripts/utils.py
parent45b8219f05fc5c784c7ee44b02b1b53ac6d04bde (diff)
downloadqutebrowser-8aa33c673e422cea908a90e3470282a448a27233.tar.gz
qutebrowser-8aa33c673e422cea908a90e3470282a448a27233.zip
Remove unused scripts.utils.print_bold
Diffstat (limited to 'scripts/utils.py')
-rw-r--r--scripts/utils.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/scripts/utils.py b/scripts/utils.py
index 039e46457..d4e606ebc 100644
--- a/scripts/utils.py
+++ b/scripts/utils.py
@@ -86,16 +86,6 @@ def print_subtitle(text):
print_col("------ {} ------".format(text), 'cyan')
-def print_bold(text):
- """Print a bold text."""
- if use_color:
- bold = _esc(term_attributes['bright'])
- reset = _esc(term_attributes['reset'])
- print(''.join([bold, text, reset]))
- else:
- print(text)
-
-
def change_cwd():
"""Change the scripts cwd if it was started inside the script folder."""
cwd = os.getcwd()