jenkins-bot has submitted this change and it was merged.
Change subject: cache.py: forgotten cache_dirs renamed to cache_path ......................................................................
cache.py: forgotten cache_dirs renamed to cache_path
Not all variables were renamed.
Change-Id: I007a74904e07fccd35ae85d6585bde051a5acb5a --- M scripts/maintenance/cache.py 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: John Vandenberg: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/maintenance/cache.py b/scripts/maintenance/cache.py index 27c1671..603d50f 100644 --- a/scripts/maintenance/cache.py +++ b/scripts/maintenance/cache.py @@ -319,12 +319,12 @@
# Also process the base directory, if it isnt the current directory if os.path.abspath(os.getcwd()) != pywikibot.config2.base_dir: - cache_dirs += [ + cache_paths += [ os.path.join(pywikibot.config2.base_dir, 'apicache')]
# Also process the user home cache, if it isnt the config directory if os.path.expanduser('~/.pywikibot') != pywikibot.config2.base_dir: - cache_dirs += [ + cache_paths += [ os.path.join(os.path.expanduser('~/.pywikibot'), 'apicache')]
if delete:
pywikibot-commits@lists.wikimedia.org