From 2a9339ca83c8fecc4d82704ec12903c5ff8bf04e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferit=20Yi=C4=9Fit=20BALABAN?= Date: Thu, 31 Mar 2022 12:32:26 +0300 Subject: [PATCH] Remove functionality to test colored output --- fetchpy | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/fetchpy b/fetchpy index 5ce64cc..c1be375 100755 --- a/fetchpy +++ b/fetchpy @@ -12,17 +12,6 @@ from rich.traceback import install install(show_locals=True) -def color_test(): - cprint('grey', 'grey') - cprint('blue', 'blue') - cprint('green', 'green') - cprint('red', 'red') - cprint('cyan', 'cyan') - cprint('magenta', 'magenta') - cprint('yellow', 'yellow') - cprint('white', 'white') - - def coloring(text): red = '#FF0018' orange = '#FFA52C' @@ -111,13 +100,6 @@ def read_until_space(text, start_at): def main(): - sys.argv.reverse() - sys.argv.pop() - if len(sys.argv) != 0: - arg = sys.argv.pop() - if arg == '-c' or arg == '--color': - color_test() - padding_count = 29 distro_name = 'Arch GNU/Linux x86_64'