Remove textwrap dependency.
This commit is contained in:
parent
7e13c5f8c5
commit
ecb5e390d5
19
buku
19
buku
@ -29,7 +29,6 @@ from urllib.parse import urljoin, quote, unquote
|
|||||||
import gzip
|
import gzip
|
||||||
import io
|
import io
|
||||||
import signal
|
import signal
|
||||||
import textwrap
|
|
||||||
|
|
||||||
# Import libraries needed for encryption
|
# Import libraries needed for encryption
|
||||||
try:
|
try:
|
||||||
@ -1018,16 +1017,16 @@ class ExtendedArgumentParser(argparse.ArgumentParser):
|
|||||||
# Print additional help and info
|
# Print additional help and info
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def print_extended_help(file=None):
|
def print_extended_help(file=None):
|
||||||
file.write(textwrap.dedent('''
|
file.write('''
|
||||||
prompt keys:
|
prompt keys:
|
||||||
1-N open the Nth search result in web browser
|
1-N open the Nth search result in web browser
|
||||||
Enter exit buku
|
Enter exit buku
|
||||||
|
|
||||||
Version %.1f
|
Version %.1f
|
||||||
Copyright (C) 2015-2016 Arun Prakash Jana <engineerarun@gmail.com>
|
Copyright (C) 2015-2016 Arun Prakash Jana <engineerarun@gmail.com>
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
Webpage: https://github.com/jarun/buku
|
Webpage: https://github.com/jarun/buku
|
||||||
''' % _VERSION_))
|
''' % _VERSION_)
|
||||||
|
|
||||||
# Help
|
# Help
|
||||||
def print_help(self, file=None):
|
def print_help(self, file=None):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user