Revert "Add the jobid in the temp directory prefix"

This reverts commit 1b2cfcbcd8.
stable
Thomas Petazzoni 2012-04-23 21:17:14 +02:00
rodzic 1b2cfcbcd8
commit 53735e2815
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -446,7 +446,7 @@ SELECT ST_AsText(ST_LongestLine(
# Ugly way to get the job id, that we need for debugging
# purposes to get a useful name for the temporary directory.
jobid = os.path.basename(file_prefix).split('_')[0]
jobid = file_prefix.split('_')[0]
# Create a temporary directory for all our shape files
tmpdir = tempfile.mkdtemp(prefix='ocitysmap-%d-' % int(jobid))