From 6d9e8077ef07057d811d7042a66fd1de460a2e6f Mon Sep 17 00:00:00 2001 From: Natalia Serrano Date: Thu, 3 Jul 2025 14:30:17 +0200 Subject: [PATCH] refs #2376 remove unused "cacheopts" --- CHANGELOG.md | 6 ++++++ ogclient/scripts/updateCache.py | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b17dcf3..2579981 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.22.8] - 2025-07-03 + +### Removed + +- Remove unused "cacheopts" + ## [0.22.7] - 2025-07-03 ### Fixed diff --git a/ogclient/scripts/updateCache.py b/ogclient/scripts/updateCache.py index c990c9c..463bfdf 100755 --- a/ogclient/scripts/updateCache.py +++ b/ogclient/scripts/updateCache.py @@ -42,7 +42,6 @@ if len (sys.argv) < 3: sys.exit (1) _, repositorio, path, protocolo, *other = sys.argv optprotocolo = other[0] if len (other) > 0 else '' -cacheopts = other[1] if len (other) > 1 else '' if 'RSYNC' == protocolo: raise Exception ('synchronised images are no longer supported') @@ -68,7 +67,7 @@ if protocolo.startswith ('MULTICAST') and re.match (r'^-?\d+$', wait): MCASTWAIT = int (wait) + 5 # Unidad organizativa. ## (no longer supported) -#print (f'repositorio ({repositorio}) path ({path}) protocolo ({protocolo}) optprotocolo ({optprotocolo}) cacheopts ({cacheopts}) MCASTWAIT ({MCASTWAIT})') +#print (f'repositorio ({repositorio}) path ({path}) protocolo ({protocolo}) optprotocolo ({optprotocolo}) MCASTWAIT ({MCASTWAIT})') # Si es una ip y es distinta a la del recurso samba cambiamos de REPO. if StringLib.ogCheckIpAddress (repositorio) or 'REPO' == repositorio: