

@cherrypy.expose
def saveas(self, working_name, *email_paths, **args):
    email_name = '/'.join(email_paths)
    saveas = args.pop(SAVEAS_PARAM_NAME, None)
    if saveas:
        email_name = '/'.join((email_name, saveas))
    raise cherrypy.HTTPRedirect('/save/{0}/{1}'.format(working_name, email_name))

dataset/ETHPy150Open KeepSafe/ks-email-parser/email_parser/gui/gui.py Server.saveas/original