From 328cb7a380d8954486b8838fbbeb12413d386c7e Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 6 Mar 2024 18:35:03 +0300 Subject: [PATCH] Rename `check_url.py` to `check_urls.py` --- Makefile | 4 ++-- check_url.py => check_urls.py | 8 ++++---- doc/ChangeLog | 2 ++ 3 files changed, 8 insertions(+), 6 deletions(-) rename check_url.py => check_urls.py (87%) diff --git a/Makefile b/Makefile index 1d08113..4bcf876 100644 --- a/Makefile +++ b/Makefile @@ -6,11 +6,11 @@ # __license__ = "GNU GPL" # -VERSION=5.3.0 +VERSION=5.3.1 EXAMPLE_SHELL=\ bkmk-add bkmk-add.py bkmk-chk bkmk-publish bkmk-rsync bkmk-sort bkmk2db \ - check_dups.py check_redirects.py check_title.py check_url.py \ + check_dups.py check_redirects.py check_title.py check_urls.py \ delete delete.py get_url.py hotexplode.pl mk-distr set-urls set-urls.py \ set-real_title.py set-title-list set-title-list.py sort_db.py diff --git a/check_url.py b/check_urls.py similarity index 87% rename from check_url.py rename to check_urls.py index a43d007..ecf8ad6 100755 --- a/check_url.py +++ b/check_urls.py @@ -5,7 +5,7 @@ This file is a part of Bookmarks database and Internet robot. """ __author__ = "Oleg Broytman " -__copyright__ = "Copyright (C) 2010-2023 PhiloSoft Design" +__copyright__ = "Copyright (C) 2010-2024 PhiloSoft Design" __license__ = "GNU GPL" import sys @@ -29,10 +29,10 @@ else: def run(): - print("Broytman check_url, Copyright (C) 2010-2023 PhiloSoft Design") + print("Broytman check_urls, Copyright (C) 2010-2024 PhiloSoft Design") if len(sys.argv) < 2: - sys.stderr.write("Usage: check_url.py url1 [url2...]\n") + sys.stderr.write("Usage: check_urls.py url1 [url2...]\n") sys.exit(1) from m_lib.flog import makelog @@ -48,7 +48,7 @@ def run(): bookmark.parent = None rcode = robot.check_url(bookmark) - print("check_url: %s" % rcode) + print("check_urls: %s" % rcode) if hasattr(bookmark, 'error'): print(bookmark.error) diff --git a/doc/ChangeLog b/doc/ChangeLog index 78324c8..19d2d5d 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -2,6 +2,8 @@ Version 5.3.1 (2024-03-??) Renamed check_urls.py to check_urls_db.py + Renamed check_url.py to check_urls.py + Version 5.3.0 (2024-03-06) Added get_url.py: a script to get one file from an URL. -- 2.39.5