view roundup/dist/command/install_lib.py @ 5696:b67636bc87d0

Add CSRF protection to rest code path. Follow same model as for xmlrpc. The original rest code was developed before the CSRF code was added to xmlrpc.
author John Rouillard <rouilj@ieee.org>
date Sun, 07 Apr 2019 20:27:25 -0400
parents 85dfe17c182e
children 42bf0a707763
line wrap: on
line source

from roundup.dist.command.build import build_message_files, check_manifest
from distutils.command.install_lib import install_lib as base

class install_lib(base):

    def run(self):
        check_manifest()
        build_message_files(self)
        base.run(self)

Roundup Issue Tracker: http://roundup-tracker.org/