From: Fredrik Unger <fred@tree.se>
Date: Sun, 10 Apr 2011 14:18:41 +0000 (+0200)
Subject: Moving the creation of tmp directory to before the new Class structure.
X-Git-Tag: v1.0~16
X-Git-Url: https://source.tree.se/git?a=commitdiff_plain;h=ccff20494cb682f214c8394d5d87837defcbf351;p=treecutter.git

Moving the creation of tmp directory to before the new Class structure.

To be imbedded later.
---

diff --git a/src/tree-cutter.py b/src/tree-cutter.py
index 2697254..e1e80ee 100755
--- a/src/tree-cutter.py
+++ b/src/tree-cutter.py
@@ -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