]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rest api: Set application variable when not executed as __main__ 15910/head
authorWido den Hollander <wido@42on.com>
Mon, 26 Jun 2017 09:50:50 +0000 (11:50 +0200)
committerWido den Hollander <wido@42on.com>
Mon, 26 Jun 2017 09:50:50 +0000 (11:50 +0200)
commit3f0428ac3aee18813c4b182faab4a094744eb435
tree66a8f23068a04bbc580d8c2287b66854abc1ec57
parent00346f68878c6d86170d09e6ab2925dadf4713e1
rest api: Set application variable when not executed as __main__

This allows for using this Python file as a WSGI module as it expects
a variable called application.

Signed-off-by: Wido den Hollander <wido@42on.com>
src/ceph-rest-api