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

#301275 (38/240) ↑Good ↓Awful ⚐Flag
<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.
save page | share

About / Latest / Random / Queue / Prefs / Donate / Submit Quote / Search
14,883 quotes approved; 8,692 fermenting; karma: 189.4805