def on_db_complete(self, success, db_results):
        self.check_db_results(success, db_results)

        _, _, req = db_results
        req = req.first()
        if req['state'] != 'delayed':
            # We didn't actually discard the record, for whatever reason
            return self.redirect("/requests?user=%s" % self.current_user)

        if req['watchers']:
            user_string = (req['user'], req['watchers']) % '%s (%s)'
            users = [req['user']] + req['watchers'].split(',')
        else:
            user_string = req['user']
            users = [req['user']]
        msg = (
            """
            <p>
                Request for %(user)s has been marked as delayed
                by %(pushmaster)s, and will not be accepted into
                pushes until you mark it as requested again:
            </p>
            <p>
                <strong>%(user)s - %(title)s</strong><br />
                <em>%(repo)s/%(branch)s</em>
            </p>
            <p>
                Regards,<br />
                PushManager
            </p>"""
            ) % pushmanager.core.util.EscapedDict({
                'pushmaster': self.current_user,
                'user': user_string,
                'title': req['title'],
                'repo': req['repo'],
                'branch': req['branch'],
            })
        subject = "[push] %s - %s" % (user_string, req['title'])
        MailQueue.enqueue_user_email(users, msg, subject)

        self.redirect("/requests?user=%s" % self.current_user)
dataset/ETHPy150Open YelpArchive/pushmanager/pushmanager/servlets/delayrequest.py/DelayRequestServlet.on_db_complete/swapped operands of `%`