From 64891863426ec926890a5735964fe8bde9b64591 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 15 Oct 2014 06:18:43 +0200 Subject: [PATCH] importer: Add docstrings. --- scripts/importer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/importer.py b/scripts/importer.py index 812e68f0c..f8d193d71 100755 --- a/scripts/importer.py +++ b/scripts/importer.py @@ -22,6 +22,7 @@ import argparse def main(): + """Main entry point.""" args = get_args() if args.browser == 'chromium': import_chromium(args.bookmarks) @@ -38,6 +39,7 @@ def get_args(): def import_chromium(bookmarks_file): + """Import bookmarks from a HTML file generated by Chromium.""" import bs4 soup = bs4.BeautifulSoup(open(bookmarks_file, encoding='utf-8'))