This file is indexed.

/usr/share/doc/python-werkzeug-doc/examples/manage-couchy.py is in python-werkzeug-doc 0.9.4+dfsg-1.1ubuntu2.1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
#!/usr/bin/env python
from werkzeug import script

def make_app():
    from couchy.application import Couchy
    return Couchy('http://localhost:5984')

def make_shell():
    from couchy import models, utils
    application = make_app()
    return locals()

action_runserver = script.make_runserver(make_app, use_reloader=True)
action_shell = script.make_shell(make_shell)
action_initdb = lambda: make_app().init_database()

script.run()