Xqt added a comment.

  In T267768#6630528 <https://phabricator.wikimedia.org/T267768#6630528>, 
@Homeboy_445 wrote:
  
  > @Xqt What should be done here?
  
  @Homeboy_445: Just remove the exception handling arround this exception e.g.
  
    try:
        page = pywikibot.Page(site, title)
    except pywikibot.BadTitle:
        # The interwiki was incorrect
        break
    except OtherException
        do_whatever()
  
  should become
  
    try:
        page = pywikibot.Page(site, title)
    except OtherException
        do_whatever()

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

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

To: Xqt
Cc: Homeboy_445, Aklapper, pywikibot-bugs-list, Xqt, Annysah01, Rohitgeddam, 
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Soda, Chaytanya, Zkhalido, 
wiki-helenatxu, Viztor, Wenyi, Kieubinhtb, Tks4Fish, Mh-3110, Asad_Ali_Palijo, 
Lahi, Soteriaspace, JakeTheDeveloper, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, 
xSavitar, Altostratus, Avicennasis, MuhammadShuaib, Tmalhotra, SimmeD, 
mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to