/usr/share/pyshared/dap/wsgi/templates.py is in python-dap 2.2.6.7-1.
This file is owned by root:root, with mode 0o644.
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 18 | import os
from paste.script import templates
class DapServerTemplate(templates.Template):
summary = "A DAP server deployed through paste.deploy"
egg_plugins = ['dap[server]']
_template_dir = 'paster_templates'
use_cheetah = True
def post(self, command, output_dir, vars):
if command.verbose:
print '*'*72
print '* Run "paster serve %s/server.ini" to run' % output_dir
print '* the DAP server on http://localhost:8080'
print '*'*72
|