Moving the creation of tmp directory to before the new Class structure.
authorFredrik Unger <fred@tree.se>
Sun, 10 Apr 2011 14:18:41 +0000 (16:18 +0200)
committerFredrik Unger <fred@tree.se>
Sun, 10 Apr 2011 14:18:41 +0000 (16:18 +0200)
To be imbedded later.

src/tree-cutter.py

index 26972544ebb5a90228bfaa18f6fa9e66dd715acf..e1e80ee9157673fb87378c1158f9808616fa7fba 100755 (executable)
@@ -26,6 +26,8 @@ style_xslt = args.style+"docbook.xsl"
 style_tmpl = args.style+"index.en.html.tmpl"
 outputdir = args.output
 
+tmptarget = tempfile.mkdtemp()+'/'
+
 valid_scripts = ['.py','.pl']
 MAXLEVEL = 10000