]> git.phdru.name Git - bookmarks_db.git/commitdiff
Style: Fix `flake8` E501 line too long
authorOleg Broytman <phd@phdru.name>
Mon, 20 Nov 2023 00:39:46 +0000 (03:39 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 20 Nov 2023 00:41:17 +0000 (03:41 +0300)
Robots/bkmk_robot_base.py
storage.py
writers.py

index 32f8c68dc695ff3c3e651c067ff0a09574f9f617..fd7237ae0184033797ef30a6a773fe9b200c10de 100644 (file)
@@ -152,7 +152,8 @@ class robot_base(Robot):
                             break
                     content_stripped = content.strip()
                     if content_stripped and is_html:
-                        parser = parse_html(content_stripped, charset, self.log)
+                        parser = parse_html(
+                            content_stripped, charset, self.log)
                         if charset:
                             bookmark.charset = charset
                         elif parser and parser.meta_charset:
index 84c8dd5167de64112df1ee3431fa738ff1511df7..75b424dc31a553638d9daebf80ee3a3660f78825 100644 (file)
@@ -21,7 +21,8 @@ storage_name, storage_params = parse_params(
 def import_storage(storage_name):
     ns = locals()
     exec("from Storage import bkmk_st%s" % storage_name, globals(), ns)
-    exec("storage = bkmk_st%s.storage_%s" % (storage_name, storage_name), globals(), ns)
+    exec("storage = bkmk_st%s.storage_%s" %
+         (storage_name, storage_name), globals(), ns)
     return ns['storage']
 
 
index 50f74c5c1168772d31afef5ff4c5d04b3d37465c..217db79202e8cd81a610dfa811c2d31e61c80cb3 100644 (file)
@@ -20,7 +20,8 @@ writer_name, writer_params = parse_params(environ.get("BKMK_WRITER", "html"))
 def import_writer(writer_name):
     ns = locals()
     exec("from Writers import bkmk_w%s" % writer_name, globals(), ns)
-    exec("writer = bkmk_w%s.writer_%s" % (writer_name, writer_name), globals(), ns)
+    exec("writer = bkmk_w%s.writer_%s" %
+         (writer_name, writer_name), globals(), ns)
     return ns['writer']