- resource.putChild(b'source', twisted.web.static.File(ssp.output_paths[0]))
- resource.putChild(b'srcpkgs', twisted.web.static.File(ssp.output_paths[1]))
+ for ix in (0,1):
+ bn = ssp.output_names[ix]
+ op = ssp.output_paths[ix]
+ resource.hippotat_sources[ix] = bn
+ subresource =twisted.web.static.File(op)
+ resource.putChild(bn.encode('utf-8'), subresource)