jenkins-bot has submitted this change and it was merged.
Change subject: Add documentation for config.password_file ......................................................................
Add documentation for config.password_file
The documentation in config2.py in password_file referred the user to login.py, which did have good documentation, but the basics should be in the first place that users look: config2.py
Change-Id: I7a450e79f298f9024ac651d2623e99d2a7269c62 --- M pywikibot/config2.py 1 file changed, 6 insertions(+), 3 deletions(-)
Approvals: Ricordisamoa: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/config2.py b/pywikibot/config2.py index 2f00d57..54f5c2e 100644 --- a/pywikibot/config2.py +++ b/pywikibot/config2.py @@ -94,10 +94,13 @@ u'species', u'incubator' ]
-# password_file = ".passwd" -# A password file with default passwords. For more information, please -# see LoginManager.readPassword in login.py. # By default you are asked for a password on the terminal. +# A password file may be used. e.g. password_file = ".passwd" +# The password file should consist of lines containing +# Python tuples of any of the following formats: +# (code, family, username, password) +# (family, username, password) +# (username, password) password_file = None
# edit summary to use if not supplied by bot script
pywikibot-commits@lists.wikimedia.org