]> git.phdru.name Git - bookmarks_db.git/commitdiff
Break loops to prevent infinite loop error.
authorOleg Broytman <phd@phdru.name>
Thu, 11 Oct 2007 01:27:40 +0000 (01:27 +0000)
committerOleg Broytman <phd@phdru.name>
Thu, 11 Oct 2007 01:27:40 +0000 (01:27 +0000)
git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@84 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23

check_urls.py

index 4081637952acef7cf072efbe7923c7e8f7f3e4db..82d4af6946aef502fe25e80298aa6e4dec6c6fdf 100755 (executable)
@@ -70,7 +70,7 @@ def run():
       sys.stdout.flush()
 
    root_folder = storage.load()
-   from bkmk_objects import make_linear
+   from bkmk_objects import make_linear, break_tree
    make_linear(root_folder)
    objects = len(root_folder.linear)
 
@@ -142,6 +142,7 @@ def run():
       print urls_no, "URLs checked"
       print size, "bytes eaten"
 
+   break_tree(root_folder.linear)
    storage.store(root_folder)
 
    if rcode: