From e87d4fe4824314d80249a6b2ff833df88081b040 Mon Sep 17 00:00:00 2001 From: Frank Winklmeier <fwinkl@cern> Date: Mon, 26 Oct 2020 12:14:19 +0100 Subject: [PATCH] AthenaPoolCnvSvc: flake8 fixes --- Database/AthenaPOOL/AthenaPoolCnvSvc/python/AthenaPool.py | 5 ++--- .../AthenaPOOL/AthenaPoolCnvSvc/python/ReadAthenaPool.py | 3 +-- .../AthenaPoolCnvSvc/python/ReadAthenaPoolDouble.py | 3 +-- .../AthenaPOOL/AthenaPoolCnvSvc/python/WriteAthenaPool.py | 4 ++-- 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/Database/AthenaPOOL/AthenaPoolCnvSvc/python/AthenaPool.py b/Database/AthenaPOOL/AthenaPoolCnvSvc/python/AthenaPool.py index 9b56e86baf6..41e20311d43 100644 --- a/Database/AthenaPOOL/AthenaPoolCnvSvc/python/AthenaPool.py +++ b/Database/AthenaPOOL/AthenaPoolCnvSvc/python/AthenaPool.py @@ -1,9 +1,8 @@ -# Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration +# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration ## @file AthenaPool_jobOptions.py ## @brief Core job options file for AthenaPOOL to setup the basic sercives. ## @author Peter van Gemmeren <gemmeren@anl.gov> -## $Id: AthenaPool.py,v 1.10 2008-11-18 22:44:00 binet Exp $ ############################################################### # # The core jobOptions for AthenaPOOL @@ -18,7 +17,7 @@ def _loadBasicAthenaPool(): from AthenaCommon import CfgMgr ## make sure we have been -at least- minimally correctly configured - import AthenaCommon.AtlasUnixStandardJob + import AthenaCommon.AtlasUnixStandardJob # noqa: F401 from AthenaCommon.Logging import logging from AthenaCommon.AppMgr import ServiceMgr as svcMgr diff --git a/Database/AthenaPOOL/AthenaPoolCnvSvc/python/ReadAthenaPool.py b/Database/AthenaPOOL/AthenaPoolCnvSvc/python/ReadAthenaPool.py index 26dbaebe095..f7de2391f27 100644 --- a/Database/AthenaPOOL/AthenaPoolCnvSvc/python/ReadAthenaPool.py +++ b/Database/AthenaPOOL/AthenaPoolCnvSvc/python/ReadAthenaPool.py @@ -3,7 +3,6 @@ ## @file ReadAthena.py ## @brief AthenaPool python module for reading event objects. ## @author Peter van Gemmeren <gemmeren@bnl.gov> -## $Id: ReadAthenaPool.py,v 1.11 2008-11-18 22:44:00 binet Exp $ ############################################################### """ This is a module for reading event objects in AthenaPool. @@ -30,7 +29,7 @@ def _configureReadAthenaPool(): from AthenaCommon.AppMgr import theApp # Load the basic services - import AthenaPoolCnvSvc.AthenaPool + import AthenaPoolCnvSvc.AthenaPool # noqa: F401 # Switch on TTreeCache for CollectionTree svcMgr.AthenaPoolCnvSvc.InputPoolAttributes += [ "DatabaseName = '*'; ContainerName = 'CollectionTree'; TREE_CACHE = '-1'" ] diff --git a/Database/AthenaPOOL/AthenaPoolCnvSvc/python/ReadAthenaPoolDouble.py b/Database/AthenaPOOL/AthenaPoolCnvSvc/python/ReadAthenaPoolDouble.py index dc683bc12cc..d2cce04d9a3 100644 --- a/Database/AthenaPOOL/AthenaPoolCnvSvc/python/ReadAthenaPoolDouble.py +++ b/Database/AthenaPOOL/AthenaPoolCnvSvc/python/ReadAthenaPoolDouble.py @@ -3,7 +3,6 @@ ## @file ReadAthena.py ## @brief AthenaPool python module for reading event objects. ## @author Peter van Gemmeren <gemmeren@bnl.gov> -## $Id: ReadAthenaPool.py,v 1.11 2008-11-18 22:44:00 binet Exp $ ############################################################### """ Copy of the one made for standard EventSelector to work with @@ -22,7 +21,7 @@ def _configureReadAthenaPoolDouble(): from AthenaCommon.AppMgr import theApp # Load the basic services - import AthenaPoolCnvSvc.AthenaPool + import AthenaPoolCnvSvc.AthenaPool # noqa: F401 # Switch on TTreeCache for CollectionTree svcMgr.AthenaPoolCnvSvc.InputPoolAttributes += [ "DatabaseName = '*'; ContainerName = 'CollectionTree'; TREE_CACHE = '-1'" ] diff --git a/Database/AthenaPOOL/AthenaPoolCnvSvc/python/WriteAthenaPool.py b/Database/AthenaPOOL/AthenaPoolCnvSvc/python/WriteAthenaPool.py index 5c7ca61ae79..785c4881f37 100644 --- a/Database/AthenaPOOL/AthenaPoolCnvSvc/python/WriteAthenaPool.py +++ b/Database/AthenaPOOL/AthenaPoolCnvSvc/python/WriteAthenaPool.py @@ -1,4 +1,4 @@ -# Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration +# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration ## @file WriteAthenaPool_jobOptions.py ## @brief AthenaPool job options file for writing event objects. @@ -29,7 +29,7 @@ def _configureWriteAthenaPool(): msg.debug( "Configuring Athena for writing POOL files..." ) # Load the basic services - import AthenaPoolCnvSvc.AthenaPool + import AthenaPoolCnvSvc.AthenaPool # noqa: F401 from AthenaCommon.AppMgr import ServiceMgr as svcMgr # Switch off splitting by setting default SplitLevel to 0 -- GitLab