Markaldo added a comment.

  AttributeError means that there was an Error that had to do with an Attribute 
request. In general, when you write x.y, y is the purported attribute of x. 
NoneType means that instead of an instance of whatever Class or Object you 
think you're working with, you've actually got None 
<http://net-informations.com/python/basics/none.htm>. That usually means that 
an assignment or function call up failed or returned an unexpected result.
  
    mylist = mylist.sort()
  
  The sort() method of a list sorts the list in-place, that is, mylist is 
modified. But the actual return value of the method is None and not the list 
sorted. So you've just assigned None to mylist. If you next try to do, say, 
mylist.append(1) Python will give you this error.

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

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

To: Xqt, Markaldo
Cc: Markaldo, gerritbot, TerraCodes, valhallasw, Dalba, jayvdb, Mpaa, Xqt, 
Magul, Aklapper, Wesalius, pywikibot-bugs-list, JohnsonLee01, SHEKH, Dijkstra, 
Alter-paule, Beast1978, Un1tY, Khutuck, Soda, Chaytanya, Zkhalido, Hook696, 
wiki-helenatxu, Kent7301, joker88john, Viztor, DannyS712, CucyNoiD, Wenyi, 
Kieubinhtb, Tks4Fish, Gaboe420, Mh-3110, Giuliamocci, Asad_Ali_Palijo, 
Cpaulf30, Lahi, Af420, Bsandipan, Soteriaspace, JakeTheDeveloper, Tbscho, MayS, 
Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, xSavitar, Altostratus, 
Avicennasis, MuhammadShuaib, Tmalhotra, SimmeD, mys_721tx, Masti, Alchimista, 
Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to