* removed the `mako` program since python-mako already includes a
authorYang Zhang <y_z@mit.edu>
Wed, 13 Aug 2008 05:46:00 +0000 (01:46 -0400)
committerYang Zhang <y_z@mit.edu>
Wed, 13 Aug 2008 05:46:00 +0000 (01:46 -0400)
    mako-render

svn path=/trunk/packages/sipb-xen-base/; revision=885

debian/changelog
files/usr/bin/mako [deleted file]

index d90eab5..380b3c7 100644 (file)
@@ -1,3 +1,10 @@
+sipb-xen-base (8.17) unstable; urgency=low
+
+  * removed the `mako` program since python-mako already includes a
+    mako-render
+
+ -- Yang Zhang <y_z@mit.edu>  Wed, 13 Aug 2008 01:45:26 -0400
+
 sipb-xen-base (8.16) unstable; urgency=low
 
   * added `mako` program for processing templates in invirt packages
diff --git a/files/usr/bin/mako b/files/usr/bin/mako
deleted file mode 100755 (executable)
index b2908ca..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/usr/bin/env python
-
-from os.path import splitext
-from sys import argv
-from mako.template import Template
-from invirt.common import with_closing
-
-for inpath in argv:
-    @with_closing(file(splitext(inpath)[0], 'w'))
-    def render(f): print >> f, Template(filename = inpath).render()