From ea715c69340ec29ae51e2e33031d506892a936c6 Mon Sep 17 00:00:00 2001 From: a1346054 <36859588+a1346054@users.noreply.github.com> Date: Mon, 13 Sep 2021 13:28:10 +0000 Subject: [PATCH] trim excess whitespace --- doc/README.txt | 10 +++++----- doc/development.txt | 12 ++++++------ doc/install.txt | 12 ++++++------ doc/web/media/css/print.css | 30 +++++++++++++++--------------- doc/web/media/css/stylesheet.css | 30 +++++++++++++++--------------- patoolib/programs/bsdcpio.py | 1 - patoolib/programs/lhasa.py | 1 - patoolib/programs/zpaq.py | 1 - 8 files changed, 47 insertions(+), 50 deletions(-) diff --git a/doc/README.txt b/doc/README.txt index 1352cc1..b8e1ac6 100644 --- a/doc/README.txt +++ b/doc/README.txt @@ -8,15 +8,15 @@ searched, repacked and compared with patool. The advantage of patool is its simplicity in handling archive files without having to remember a myriad of programs and options. -The archive format is determined by the file(1) program and as +The archive format is determined by the file(1) program and as a fallback by the archive file extension. patool supports 7z (.7z, .cb7), ACE (.ace, .cba), ADF (.adf), ALZIP (.alz), -APE (.ape), AR (.a), ARC (.arc), ARJ (.arj), BZIP2 (.bz2), -CAB (.cab), COMPRESS (.Z), CPIO (.cpio), DEB (.deb), DMS (.dms), -FLAC (.flac), GZIP (.gz), ISO (.iso), LRZIP (.lrz), LZH (.lha, .lzh), +APE (.ape), AR (.a), ARC (.arc), ARJ (.arj), BZIP2 (.bz2), +CAB (.cab), COMPRESS (.Z), CPIO (.cpio), DEB (.deb), DMS (.dms), +FLAC (.flac), GZIP (.gz), ISO (.iso), LRZIP (.lrz), LZH (.lha, .lzh), LZIP (.lz), LZMA (.lzma), LZOP (.lzo), RPM (.rpm), RAR (.rar, .cbr), -RZIP (.rz), SHN (.shn), TAR (.tar, .cbt), XZ (.xz), +RZIP (.rz), SHN (.shn), TAR (.tar, .cbt), XZ (.xz), ZIP (.zip, .jar, .cbz) and ZOO (.zoo) archive formats. It relies on helper applications to handle those archive formats (for example bzip2 for BZIP2 archives). diff --git a/doc/development.txt b/doc/development.txt index 8640a23..5504282 100644 --- a/doc/development.txt +++ b/doc/development.txt @@ -33,23 +33,23 @@ General rules for all convenience functions: The convenience functions are: * ``def extract_archive(archive, verbosity=0, outdir=None, program=None)`` - + Extracts the given archive filename to the current working directory or if specified to the given directory name in outdir. Checks that the archive exists and is readable before extracting it. * ``def list_archive(archive, verbosity=1, program=None)`` - + Lists the contents of the given archive filename on stdout. Checks that the archive exists and is readable before listing it. * ``def test_archive(archive, verbosity=0, program=None)`` - + Tests the given archive filename. Checks that the archive exists and is readable before testing it. * ``def create_archive(archive, filenames, verbosity=0, program=None)`` - + Creates a new archive. The type of archive is determined by the archive filename extension. Checks that the archive is not already existing to avoid overwriting it. @@ -57,7 +57,7 @@ The convenience functions are: and are readable. * ``diff_archives(archive1, archive2, verbosity=0)`` - + This function lists differences in the content of the two archives. Both archives are extracted and the contents are compared recursively with the diff(1) program. @@ -70,7 +70,7 @@ The convenience functions are: Checks that archive exists and is readable. * ``repack_archive (archive, archive_new, verbosity=0)`` - + This function extracts the contents of the archive and packs them into archive_new. Checks that archive exists and is readable. Also checks that diff --git a/doc/install.txt b/doc/install.txt index b28b00d..2e38700 100644 --- a/doc/install.txt +++ b/doc/install.txt @@ -4,7 +4,7 @@ Installation First, install the required software. 1. Python >= 2.7 from https://www.python.org/ - + Now install the application. @@ -15,20 +15,20 @@ Now install the application. 2. Installation from source a) Installation as root - + Run ``sudo python setup.py install`` to install patool. - + b) Installation as a normal user - + Run ``python setup.py install --home $HOME``. Note that you have to adjust your PATH and PYTHONPATH environment variables, e.g. by adding the commands ``export PYTHONPATH=$HOME/lib/python`` and ``export PATH=$PATH:$HOME/bin`` to your shell configuration file. - + For more information look at the `Modifying Python's search path`_ documentation. - + .. _Modifying Python's search path: http://docs.python.org/inst/search-path.html#SECTION000410000000000000000 diff --git a/doc/web/media/css/print.css b/doc/web/media/css/print.css index 541695b..9f13710 100644 --- a/doc/web/media/css/print.css +++ b/doc/web/media/css/print.css @@ -7,8 +7,8 @@ b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, -article, aside, canvas, details, embed, -figure, figcaption, footer, header, hgroup, +article, aside, canvas, details, embed, +figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; @@ -19,7 +19,7 @@ time, mark, audio, video { vertical-align: baseline; } /* HTML5 display-role reset for older browsers */ -article, aside, details, figcaption, figure, +article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } @@ -43,7 +43,7 @@ table { } body { font-size: 13px; - line-height: 1.5; + line-height: 1.5; font-family: 'Helvetica Neue', Helvetica, Arial, serif; color: #000; } @@ -118,14 +118,14 @@ th { td { border: 1px solid #ebebeb; - text-align: center; + text-align: center; font-weight: 300; } form { background: #f2f2f2; padding: 20px; - + } @@ -133,43 +133,43 @@ form { h1 { font-size: 2.8em; -} +} h2 { font-size: 22px; font-weight: bold; color: #303030; margin-bottom: 8px; -} +} h3 { color: #d5000d; font-size: 18px; font-weight: bold; margin-bottom: 8px; -} - +} + h4 { font-size: 16px; color: #303030; font-weight: bold; -} +} h5 { font-size: 1em; color: #303030; -} +} h6 { font-size: .8em; color: #303030; -} +} p { font-weight: 300; margin-bottom: 20px; } - + a { text-decoration: none; } @@ -223,4 +223,4 @@ footer a { .clearfix {display: inline-block;} * html .clearfix {height: 1%;} -.clearfix {display: block;} \ No newline at end of file +.clearfix {display: block;} diff --git a/doc/web/media/css/stylesheet.css b/doc/web/media/css/stylesheet.css index 2a19461..85f6acf 100644 --- a/doc/web/media/css/stylesheet.css +++ b/doc/web/media/css/stylesheet.css @@ -1,4 +1,4 @@ -/* http://meyerweb.com/eric/tools/css/reset/ +/* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ @@ -11,8 +11,8 @@ b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, -article, aside, canvas, details, embed, -figure, figcaption, footer, header, hgroup, +article, aside, canvas, details, embed, +figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; @@ -23,7 +23,7 @@ time, mark, audio, video { vertical-align: baseline; } /* HTML5 display-role reset for older browsers */ -article, aside, details, figcaption, figure, +article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } @@ -49,7 +49,7 @@ table { /* LAYOUT STYLES */ body { font-size: 1em; - line-height: 1.5; + line-height: 1.5; background: #e7e7e7 url(../images/body-bg.png) 0 0 repeat; font-family: 'Helvetica Neue', Helvetica, Arial, serif; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); @@ -227,14 +227,14 @@ th { td { border: 1px solid #ebebeb; - text-align: center; + text-align: center; font-weight: 300; } form { background: #f2f2f2; padding: 20px; - + } @@ -242,43 +242,43 @@ form { h1 { font-size: 32px; -} +} h2 { font-size: 22px; font-weight: bold; color: #303030; margin-bottom: 8px; -} +} h3 { color: #d5000d; font-size: 18px; font-weight: bold; margin-bottom: 8px; -} - +} + h4 { font-size: 16px; color: #303030; font-weight: bold; -} +} h5 { font-size: 1em; color: #303030; -} +} h6 { font-size: .8em; color: #303030; -} +} p { font-weight: 300; margin-bottom: 20px; } - + a { text-decoration: none; } diff --git a/patoolib/programs/bsdcpio.py b/patoolib/programs/bsdcpio.py index bbca459..f1d257d 100644 --- a/patoolib/programs/bsdcpio.py +++ b/patoolib/programs/bsdcpio.py @@ -15,4 +15,3 @@ # along with this program. If not, see . """Archive commands for the bsdcpio program.""" from .cpio import extract_cpio, list_cpio, test_cpio, create_cpio - diff --git a/patoolib/programs/lhasa.py b/patoolib/programs/lhasa.py index b7a3e81..4009f11 100644 --- a/patoolib/programs/lhasa.py +++ b/patoolib/programs/lhasa.py @@ -15,4 +15,3 @@ # along with this program. If not, see . """Archive commands for the lhasa program.""" from .lha import extract_lzh - diff --git a/patoolib/programs/zpaq.py b/patoolib/programs/zpaq.py index 795cf5b..24ec8e2 100644 --- a/patoolib/programs/zpaq.py +++ b/patoolib/programs/zpaq.py @@ -36,4 +36,3 @@ def create_zpaq(archive, compression, cmd, verbosity, interactive, filenames): # zpaq has no separate test mode, so use listing instead test_zpaq = list_zpaq -