refine/fix isimportable-logic and ensure that 'tmpdir' has a python-importable name

--HG--
branch : trunk
This commit is contained in:
holger krekel
2010-04-27 16:10:25 +02:00
parent 8131f5bdc0
commit ed7a2d2da3
4 changed files with 18 additions and 3 deletions

View File

@@ -151,7 +151,7 @@ class Config(object):
if not numbered:
return basetemp.mkdir(basename)
else:
return py.path.local.make_numbered_dir(prefix=basename + "-",
return py.path.local.make_numbered_dir(prefix=basename,
keep=0, rootdir=basetemp, lock_timeout=None)
def getinitialnodes(self):