Revert "Add the jobid in the temp directory prefix"

This reverts commit 668b02ae93.
stable
Thomas Petazzoni 2012-04-23 21:17:31 +02:00
rodzic af2aa4a985
commit 82ab5d0286
1 zmienionych plików z 1 dodań i 5 usunięć

Wyświetl plik

@ -444,12 +444,8 @@ SELECT ST_AsText(ST_LongestLine(
osm_date = self.get_osm_database_last_update()
# Ugly way to get the job id, that we need for debugging
# purposes to get a useful name for the temporary directory.
jobid = file_prefix.split('_')[0]
# Create a temporary directory for all our shape files
tmpdir = tempfile.mkdtemp(prefix='ocitysmap-%d-', int(jobid))
tmpdir = tempfile.mkdtemp(prefix='ocitysmap')
try:
LOG.debug('Rendering in temporary directory %s' % tmpdir)