]> git.phdru.name Git - bookmarks_db.git/blobdiff - Robots/bkmk_rforking.py
Style: Fix flake8 E128 continuation line under-indented for visual indent
[bookmarks_db.git] / Robots / bkmk_rforking.py
index cad8b2d0978e9ccb95c6560fa9164e047a991664..4d3e105a7a4063f7f5f5395d88d1ff18c1fa4601 100644 (file)
@@ -4,7 +4,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__ = ['robot_forking']
@@ -40,7 +40,7 @@ def restart_subp(log):
     stop_subp(log)
 
     check_subp = Subprocess("%s/Robots/bkmk_rforking_sub.py" % os.path.dirname(sys.argv[0]),
-       control_stderr=True)
+                            control_stderr=True)
     subp_pipe = RecordFile(check_subp)
 
 
@@ -73,10 +73,12 @@ class robot_forking(Robot):
 
             if check_subp.waitForPendingChar(60): # wait a minute
                 new_b = pickle.loads(subp_pipe.read_record())
-                for attr in ("error", "no_error",
-                      "moved", "size", "md5", "real_title",
-                      "last_tested", "last_modified", "test_time",
-                      "icon", "icon_href"):
+                for attr in (
+                    "error", "no_error",
+                    "moved", "size", "md5", "real_title",
+                    "last_tested", "last_modified", "test_time",
+                    "icon", "icon_href",
+                ):
                     if hasattr(new_b, attr):
                         setattr(bookmark, attr, getattr(new_b, attr))
             else: