Commit 1d65cfb1 authored by Christophe Benz's avatar Christophe Benz
Browse files

Use single-line module docstring

parent 7c862b0c
......@@ -18,10 +18,7 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <>.
Downloader for Meti Japan provider
"""Downloader for Meti Japan provider."""
import argparse
import http.client
......@@ -68,7 +65,7 @@ def download_and_extract(url, target_dir: Path, dir_name):
def main():
""" Downloads and extracts zip files in folders """
parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument('target_dir', type=Path, help='path of target directory')
parser.add_argument('--debug-http', action='store_true', help='display http.client debug messages')
parser.add_argument('--log', default='WARNING', help='level of logging messages')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment