QDB: Quote #301275
About / Browse / Latest / Random / Queue / Prefs / Submit Quote / Search

#301275 (38/220) ↑Funny ↓Bad πOld
<esteele> Anyone know what  kw['title'].setdefault('')  might do?
<optilude> esteele: crash if 'title' is not in kw?
<esteele> Well, it crashes when it is too. Unless title shouldn't be a string.
<esteele> Ah, I think it should be kw.setdefault('title','')
<davisagli> esteele: right
<esteele> Which shows how many times that method has ever been called.
<davisagli> heh. what method?
<esteele> Products.PlonePAS.plugins.group.GroupManager.updateGroup
<esteele> From 02/24/05
<esteele> Wow.
<esteele> This is what archaeology feels like, I'll bet.
Subscribe to the RSS feed to get the latest approved quotes
save page | share

About / Browse / Latest / Random / Queue / Prefs / Submit Quote / Search
0.147 (1) 13,964 quotes approved; 8,885 fermenting; karma: 187.1680