durusmail: quixote-users: compiling ptls
compiling ptls
2002-06-10
compiling ptls
Neil Schemenauer
2002-06-11
On Mon, Jun 10, 2002 at 04:57:24PM -0700, Quinn Dunkan wrote:
> Random question:  it seems like compile_ptl.py from the command line generates
> bad ptlcs:

Looks like I broke it at some point trying to be to fancy.  Attached is
the fix.

  Neil

--- ptl_compile.py      30 Jan 2002 22:36:15 -0000      1.20
+++ ptl_compile.py      11 Jun 2002 14:07:46 -0000
@@ -33,8 +33,7 @@
 # magic names inserted into the code

 # try to figure out what package we are in
-_package = string.split(__name__, ".")[:-1]
-IO_MODULE = string.join(_package + ["TemplateIO"], ".")
+IO_MODULE = "quixote.TemplateIO"
 IO_CLASS = "TemplateIO"
 IO_INSTANCE = "__output"
 TEMPLATE_PREFIX = "__template__"





reply