# HG changeset patch # User jhammel # Date 1351265261 0 # Node ID 608df6b3de80ec987d3044d50175f224651a1326 # Parent 6ffbad8cc31f108ec155f4cd05556b1939a80f92 interpolate all the things diff -r 6ffbad8cc31f -r 608df6b3de80 dogdish/dispatcher.py --- a/dogdish/dispatcher.py Fri Oct 26 15:11:06 2012 +0000 +++ b/dogdish/dispatcher.py Fri Oct 26 15:27:41 2012 +0000 @@ -111,7 +111,7 @@ # template for response body body = """ - + """ @@ -144,8 +144,10 @@ # template variables variables = dict(update=current_update.filename, size=current_update.size, + version=application.version, hash=current_update.hash(), path=self.app.path, + build_id=application.build_id, query=query) return Response(content_type='text/xml', @@ -169,7 +171,7 @@ # path if not self.path: - self.path = os.path.split(self.directory.strip(os.path.sep)) + self.path = os.path.split(self.directory.strip(os.path.sep))[-1] # cache self.updates = {}