#!/usr/bin/env python
+import logging
+logging.basicConfig(level=logging.INFO, format="run-command: %(message)s")
+
import arvados
import re
import os
import traceback
import pprint
import multiprocessing
-import logging
import crunchutil.robust_put as robust_put
import crunchutil.vwd as vwd
os.umask(0077)
-logging.basicConfig(format="run-command: %(message)s")
t = arvados.current_task().tmpdir
stdoutname = subst.do_substitution(taskp, taskp["task.stdout"])
stdoutfile = open(stdoutname, "wb")
- logging.info("{}{}{}".format(' '.join(cmd), (" < " + stdinname) if stdinname is not None else ""), (" > " + stdoutname) if stdoutname is not None else ""))
+ logging.info("{}{}{}".format(' '.join(cmd), (" < " + stdinname) if stdinname is not None else "", (" > " + stdoutname) if stdoutname is not None else ""))
except Exception as e:
logging.exception("caught exception")