From ecb5e390d50ea060f7d44a6e1c33d6a68a89817e Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sat, 14 May 2016 21:03:21 +0530 Subject: [PATCH] Remove textwrap dependency. --- buku | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/buku b/buku index a83d737..781faac 100755 --- a/buku +++ b/buku @@ -29,7 +29,6 @@ from urllib.parse import urljoin, quote, unquote import gzip import io import signal -import textwrap # Import libraries needed for encryption try: @@ -1018,16 +1017,16 @@ class ExtendedArgumentParser(argparse.ArgumentParser): # Print additional help and info @staticmethod def print_extended_help(file=None): - file.write(textwrap.dedent(''' - prompt keys: - 1-N open the Nth search result in web browser - Enter exit buku + file.write(''' +prompt keys: + 1-N open the Nth search result in web browser + Enter exit buku - Version %.1f - Copyright (C) 2015-2016 Arun Prakash Jana - License: GPLv3 - Webpage: https://github.com/jarun/buku - ''' % _VERSION_)) +Version %.1f +Copyright (C) 2015-2016 Arun Prakash Jana +License: GPLv3 +Webpage: https://github.com/jarun/buku +''' % _VERSION_) # Help def print_help(self, file=None):