importer: Whitespace cleanup

This commit is contained in:
Florian Bruhin 2014-10-15 06:16:12 +02:00
parent f9b4dbc9cb
commit abab935ca8

View File

@ -17,8 +17,8 @@
# You should have received a copy of the GNU General Public License
# along with qutebrowser. If not, see <http://www.gnu.org/licenses/>.
import argparse
import argparse
def main():
@ -26,6 +26,7 @@ def main():
if args.browser == 'chromium':
import_chromium(args.bookmarks)
def get_args():
"""Get the argparse parser."""
parser = argparse.ArgumentParser("usage: importer.py")
@ -35,6 +36,7 @@ def get_args():
args = parser.parse_args()
return args
def import_chromium(bookmarks_file):
import codecs
from bs4 import BeautifulSoup
@ -51,6 +53,6 @@ def import_chromium(bookmarks_file):
for bookmark in bookmarks:
print(bookmark)
if __name__ == '__main__':
main()