diff --git a/Database/AthenaPOOL/OutputStreamAthenaPool/python/MultipleStreamManager.py b/Database/AthenaPOOL/OutputStreamAthenaPool/python/MultipleStreamManager.py index 8886c0392837785e5d19f26dc7d6c16b103a56a3..7fea06f370e4f8022859615d13887c26ac352aec 100644 --- a/Database/AthenaPOOL/OutputStreamAthenaPool/python/MultipleStreamManager.py +++ b/Database/AthenaPOOL/OutputStreamAthenaPool/python/MultipleStreamManager.py @@ -6,6 +6,7 @@ ## creation: David Cote (May 2008) ## ######################################################## from __future__ import print_function +import os class AugmentedStreamBase: """This class manages common methods of AugmentedPoolStream and AugmentedByteStream.""" @@ -272,9 +273,7 @@ class AugmentedByteStream( AugmentedStreamBase ): svcMgr.ToolSvc += self.bsCopyTool #default output directory - import subprocess - cmd='pwd' - (statusCode,outDir) = subprocess.getstatusoutput(cmd) + outDir = os.getcwd() outDir+="/" # BS output Svc