1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/ac84504bc6a1/ changeset: ac84504bc6a1 user: jgoecks date: 2011-10-12 21:50:02 summary: Force absolute path when creating temporary directory used when importing histories. Fixes #667 affected #: 1 file (-1 bytes) --- a/lib/galaxy/tools/actions/history_imp_exp.py Wed Oct 12 11:19:58 2011 -0400 +++ b/lib/galaxy/tools/actions/history_imp_exp.py Wed Oct 12 15:50:02 2011 -0400 @@ -28,7 +28,10 @@ # # Add association for keeping track of job, history relationship. - archive_dir = tempfile.mkdtemp() + + # Use abspath because mkdtemp() does not, contrary to the documentation, + # always return an absolute path. + archive_dir = os.path.abspath( tempfile.mkdtemp() ) jiha = trans.app.model.JobImportHistoryArchive( job=job, archive_dir=archive_dir ) trans.sa_session.add( jiha ) job_wrapper = JobImportHistoryArchiveWrapper( job ) Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.