Simon-kempf created this task.
Simon-kempf added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  **Steps to replicate the issue** (include links if applicable):
  
  - Create a user-password.py file.
  - Add a ('SiteCode', 'FamilyName', 'Username', BotPassword('BotName', 
'Password')) entry to user-password.py, including all fields.
  -
  
  **What happens?**:
  If I use a ('SiteCode', 'FamilyName', 'Username', BotPassword('BotName', 
'Password')) format in my user-password.py, the message "Password line too long 
or too complex" appears.
  
  **What should have happened instead?**:
  I think this is due to the line "line.count(',') > 3" : 
https://github.com/wikimedia/pywikibot/blob/master/pywikibot/login.py#L265 
because my password line contains four (> 3) commas including the comma between 
the two args of BotPassword.
  
  **Software version** (on `Special:Version` page; skip for WMF-hosted wikis 
like Wikipedia):
  Pywikibot 10.7.2
  
  **Other information** (browser name/version, screenshots, etc.):

TASK DETAIL
  https://phabricator.wikimedia.org/T412191

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to