From 286900af63959e7fc5871a304b632f4e47e63b25 Mon Sep 17 00:00:00 2001 From: "Schimon Jehudah, Adv." Date: Tue, 11 Jun 2024 05:34:18 +0300 Subject: [PATCH] Rename module command.py to adhoc.py. --- slixfeed/action.py | 1 + slixfeed/crawl.py | 2 +- slixfeed/version.py | 4 ++-- slixfeed/xmpp/{command.py => adhoc.py} | 0 4 files changed, 4 insertions(+), 3 deletions(-) rename slixfeed/xmpp/{command.py => adhoc.py} (100%) diff --git a/slixfeed/action.py b/slixfeed/action.py index 2c25615..d34bfab 100644 --- a/slixfeed/action.py +++ b/slixfeed/action.py @@ -72,6 +72,7 @@ except: logger = Logger(__name__) +# NOTE Consider removal of MD (and any other option HTML and XBEL) def export_feeds(self, jid_bare, ext): function_name = sys._getframe().f_code.co_name logger.debug('{}: jid_bare: {}: ext: {}'.format(function_name, jid_bare, ext)) diff --git a/slixfeed/crawl.py b/slixfeed/crawl.py index cddc87c..abdb2bf 100644 --- a/slixfeed/crawl.py +++ b/slixfeed/crawl.py @@ -153,7 +153,7 @@ async def probe_page(url, document=None): result = None except Exception as e: logger.error(str(e)) - logger.warn("Failed to parse URL as feed for {}.".format(url)) + logger.warning("Failed to parse URL as feed for {}.".format(url)) result = {'link' : None, 'index' : None, 'name' : None, diff --git a/slixfeed/version.py b/slixfeed/version.py index 3bf4ee4..9d4c37b 100644 --- a/slixfeed/version.py +++ b/slixfeed/version.py @@ -1,2 +1,2 @@ -__version__ = '0.1.75' -__version_info__ = (0, 1, 75) +__version__ = '0.1.76' +__version_info__ = (0, 1, 76) diff --git a/slixfeed/xmpp/command.py b/slixfeed/xmpp/adhoc.py similarity index 100% rename from slixfeed/xmpp/command.py rename to slixfeed/xmpp/adhoc.py