def post(self, appname):
        self.appname = appname
        now = int(time.time())
        thirtydaysago = now - 60 * 60 * 24
        self.db.logs.remove({ 'created': { '$lt': thirtydaysago } })
        self.redirect(appname % r"/applications/%s/logs")
dataset/ETHPy150Open airnotifier/airnotifier/controllers/base.py/AppLogViewHandler.post/swapped operands of `%`