| Xqt created this task. Xqt added a project: Pywikibot-core. Herald added subscribers: pywikibot-bugs-list, Aklapper. |
TASK DESCRIPTION
With Python 3 the BaseBot script terminates sucessfully with QuitKeyboardInterrupt raised by the [q]uit option:
C:\pwb\GIT\core>py -3 pwb.py basic -simulate -page:user:xqt/Test Retrieving 1 pages from wikipedia:de.
>>> Benutzer:Xqt/Test <<<
@@ -34 +34 @@
- {{foo|template:bar}}
+ {{foo|template:bar}}Test
Edit summary: Bot: Ändere…
Do you want to accept these changes? ([y]es, [N]o, [a]ll, [q]uit): q
User quit BasicBot bot run...
0 pages read
0 pages written
Execution time: 5 seconds
Script terminated successfully.But with Python 2 the scripts terminates with a QuitKeyboardInterrupt exception
C:\pwb\GIT\core>py -2 pwb.py basic -simulate -page:user:xqt/Test
Retrieving 1 pages from wikipedia:de.
>>> Benutzer:Xqt/Test <<<
@@ -34 +34 @@
- {{foo|template:bar}}
+ {{foo|template:bar}}Test
Edit summary: Bot: Ändere…
Do you want to accept these changes? ([y]es, [N]o, [a]ll, [q]uit): q
User quit BasicBot bot run...
0 pages read
0 pages written
Execution time: 3 seconds
Script terminated by exception:
ERROR: QuitKeyboardInterrupt:
C:\pwb\GIT\core>TASK DETAIL
EMAIL PREFERENCES
To: Xqt
Cc: Aklapper, Xqt, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
Cc: Aklapper, Xqt, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
