[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Maposmatic-dev] [PATCH] Revert "Add the jobid in the temp directory pre

From: David MENTRE
Subject: [Maposmatic-dev] [PATCH] Revert "Add the jobid in the temp directory prefix"
Date: Sat, 21 Apr 2012 12:38:06 +0200

This reverts commit 1b2cfcbcd8884bd817b2a810efd61bb64aaa5ec1.

The issue is sorted out and we no longer need this patch that breaks
 ocitysmap2/ |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ocitysmap2/ b/ocitysmap2/
index bc32838..75bdc0c 100644
--- a/ocitysmap2/
+++ b/ocitysmap2/
@@ -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))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]