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:
--
To view, visit
https://gerrit.wikimedia.org/r/165357
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I007a74904e07fccd35ae85d6585bde051a5acb5a
Gerrit-PatchSet: 2
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Mpaa <mpaa.wiki(a)gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Ladsgroup <ladsgroup(a)gmail.com>
Gerrit-Reviewer: Merlijn van Deen <valhallasw(a)arctus.nl>
Gerrit-Reviewer: Mpaa <mpaa.wiki(a)gmail.com>
Gerrit-Reviewer: jenkins-bot <>