Xqt created this task.
Xqt added projects: Pywikibot-core, Pywikibot-pagegenerators.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION

A depth number value n is not recognized for -subpage:n option. It always ask for that parameter.
If no parameter is given we get a TypeError:

    genFactory.handleArg(arg)
  File "C:\pwb\GIT\core\pywikibot\pagegenerators.py", line 915, in handleArg
    self.subpage_max_depth = int(value)
TypeError: int() argument must be a string or a number, not 'NoneType'
<type 'exceptions.TypeError'>
CRITICAL: Closing network session.

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

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

To: Xqt
Cc: Sn1per, Aklapper, Mpaa, Xqt, pywikibot-bugs-list, Mdupont, JJMC89, jayvdb, Alchimista
_______________________________________________
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to