From e2c7ec4349db18acd4c8d0902b0a5ab2cffd5be7 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 31 Oct 2023 19:45:06 +0300 Subject: [PATCH] Feat: Set shebang to `python3` --- Robots/bkmk_rforking_sub.py | 2 +- Storage/debug-json/pprint-json.py | 2 +- bkmk-add.py | 2 +- bkmk2db.py | 2 +- check_dups.py | 2 +- check_title.py | 2 +- check_url.py | 2 +- check_urls.py | 2 +- convert_st.py | 4 ++-- db2bkmk.py | 2 +- set-real_title.py | 2 +- set-title-list.py | 2 +- sort_db.py | 2 +- 13 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Robots/bkmk_rforking_sub.py b/Robots/bkmk_rforking_sub.py index 2f444ab..6fb929e 100755 --- a/Robots/bkmk_rforking_sub.py +++ b/Robots/bkmk_rforking_sub.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Subprocess for the forking robot - check URL using bkmk_rurlib robot This file is a part of Bookmarks database and Internet robot. diff --git a/Storage/debug-json/pprint-json.py b/Storage/debug-json/pprint-json.py index 2df6a81..48bb8b4 100755 --- a/Storage/debug-json/pprint-json.py +++ b/Storage/debug-json/pprint-json.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 import sys import json diff --git a/bkmk-add.py b/bkmk-add.py index 3793335..f268277 100755 --- a/bkmk-add.py +++ b/bkmk-add.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Add a bookmark to the database This file is a part of Bookmarks database and Internet robot. diff --git a/bkmk2db.py b/bkmk2db.py index e3971a6..5a96d7f 100755 --- a/bkmk2db.py +++ b/bkmk2db.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Convert Netscape Navigator's or Mozilla's bookmarks.html to a database This file is a part of Bookmarks database and Internet robot. diff --git a/check_dups.py b/check_dups.py index 7fca79a..47a77df 100755 --- a/check_dups.py +++ b/check_dups.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Check duplicate URLs in the bookmarks database This file is a part of Bookmarks database and Internet robot. diff --git a/check_title.py b/check_title.py index 554c2af..5c0ed3f 100755 --- a/check_title.py +++ b/check_title.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Check and show URLs in the bookmarks database where name != real title This file is a part of Bookmarks database and Internet robot. diff --git a/check_url.py b/check_url.py index ecaa2fb..2da9d4d 100755 --- a/check_url.py +++ b/check_url.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Robot interface - check URLs from the command line This file is a part of Bookmarks database and Internet robot. diff --git a/check_urls.py b/check_urls.py index e60cefe..629fa86 100755 --- a/check_urls.py +++ b/check_urls.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Robot interface - check URLs from bookmarks database This file is a part of Bookmarks database and Internet robot. diff --git a/convert_st.py b/convert_st.py index 381239f..63d4a7f 100755 --- a/convert_st.py +++ b/convert_st.py @@ -1,11 +1,11 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Convert a bkmk database to a different storage. This file is a part of Bookmarks database and Internet robot. """ __author__ = "Oleg Broytman " -__copyright__ = "Copyright (C) 2000-2017 PhiloSoft Design" +__copyright__ = "Copyright (C) 2000-2023 PhiloSoft Design" __license__ = "GNU GPL" import sys diff --git a/db2bkmk.py b/db2bkmk.py index 4041690..c649ae9 100755 --- a/db2bkmk.py +++ b/db2bkmk.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Convert a bkmk database back to bookmarks.html (or other format defined by writer) diff --git a/set-real_title.py b/set-real_title.py index eae7061..60b3c20 100755 --- a/set-real_title.py +++ b/set-real_title.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Run through the bookmarks database and set name to real title This file is a part of Bookmarks database and Internet robot. diff --git a/set-title-list.py b/set-title-list.py index 8249c57..065407e 100755 --- a/set-title-list.py +++ b/set-title-list.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Run through the bookmarks database and set names to titles from an external file diff --git a/sort_db.py b/sort_db.py index fce1ac4..143c7d1 100755 --- a/sort_db.py +++ b/sort_db.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Sort bookmarks DB according to a rule: -a - by AddDate -v - by LastVisit -- 2.39.5