Nemo_bis added a comment.
Sorry, past error.
In my testing I just made it
# Update the item try: if claim.getID() in item.claims: item.claims[claim.getID()].append(claim) else: item.claims[claim.getID()] = [claim] except AttributeError: # claims were not defined pass
TASK DETAIL https://phabricator.wikimedia.org/T94848
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Nemo_bis Cc: XZise, Nemo_bis, Aklapper, jayvdb, pywikipedia-bugs