]> git.phdru.name Git - bookmarks_db.git/blobdiff - Storage/bkmk_stflad.py
Style: Fix flake8 E128 continuation line under-indented for visual indent
[bookmarks_db.git] / Storage / bkmk_stflad.py
index a60b30af872b215e62f7e80d151cdd672589ff66..232229194a44aa8bbc8ddf1c552cf6626764504d 100644 (file)
@@ -6,7 +6,7 @@ This file is a part of Bookmarks database and Internet robot.
 """
 
 __author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2000-2017 PhiloSoft Design"
+__copyright__ = "Copyright (C) 2000-2023 PhiloSoft Design"
 __license__ = "GNU GPL"
 
 __all__ = ['storage_flad']
@@ -55,8 +55,8 @@ IconURI: %s
 Icon: %s
 Charset: %s
 """ % (level+1, b.name, b.href, b.add_date, b.last_visit, b.last_modified,
-           b.keyword, b.comment.replace('\n', "\\n"),
-           b.icon_href or '', b.icon or '', b.charset or ''))
+            b.keyword, b.comment.replace('\n', "\\n"),
+            b.icon_href or '', b.icon or '', b.charset or ''))
 
     def ruler(self, r, level):
         self.outfile.write("\nLevel: %s\nRuler: YES\n" % (level+1))
@@ -113,9 +113,10 @@ Charset: %s
 
             if record.has_key("URL"):
                 comment = record["Comment"].replace("\\n", '\n')
-                bookmark = Bookmark(record["URL"], record["AddDate"],
-                   record["LastVisit"], record["LastModified"],
-                   record["Keyword"], comment)
+                bookmark = Bookmark(
+                    record["URL"], record["AddDate"],
+                    record["LastVisit"], record["LastModified"],
+                    record["Keyword"], comment)
                 bookmark.name = record["Title"]
                 self.current_folder.append(bookmark)