summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
74c815a)
"""
Run through the bookmarks database and set names to titles from an external file
"""
Run through the bookmarks database and set names to titles from an external file
- Written by BroytMann, May 2003 - May 2003. Copyright (C) 2003 PhiloSoft Design
+ Written by BroytMann. Copyright (C) 2003-2007 PhiloSoft Design.
- print "BroytMann set-title-list, Copyright (C) 2003 PhiloSoft Design"
+ print "BroytMann set-title-list, Copyright (C) 2003-2007 PhiloSoft Design"
if len(args) <> 1:
sys.stderr.write("Usage: set-title-list [-s] title_list_file\n")
if len(args) <> 1:
sys.stderr.write("Usage: set-title-list [-s] title_list_file\n")
sys.stdout.flush()
root_folder = storage.load()
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)
make_linear(root_folder)
objects = len(root_folder.linear)
sys.stdout.flush()
if changed:
sys.stdout.flush()
if changed:
+ break_tree(root_folder.linear)
storage.store(root_folder)
if changed and report_stats:
storage.store(root_folder)
if changed and report_stats: