def delete_password(self, service, username):
collection = self.get_preferred_collection()<EOL>items = collection.search_items(<EOL>{"<STR_LIT:username>": username, "<STR_LIT>": service})<EOL>for item in items:<EOL><INDENT>return item.delete()<EOL><DEDENT>raise PasswordDeleteError("<STR_LIT>")<EOL>
Delete the stored password (only the first one)