def createContainer(name): from pandatools import Client # don't create containers for HC datasets if not configPanda['processingType'].startswith('gangarobot') and not configPanda['processingType'].startswith('hammercloud'): try: Client.createContainer(name,False) logger.info('Created output container %s' %name) except exceptions.SystemExit: raise BackendError('Panda','Exception in Client.createContainer %s: %s %s'%(name,sys.exc_info()[0],sys.exc_info()[1]))
def createContainer(name): from pandatools import Client # don't create containers for HC datasets if not configPanda['processingType'].startswith( 'gangarobot') and not configPanda['processingType'].startswith( 'hammercloud'): try: Client.createContainer(name, False) logger.info('Created output container %s' % name) except exceptions.SystemExit: raise BackendError( 'Panda', 'Exception in Client.createContainer %s: %s %s' % (name, sys.exc_info()[0], sys.exc_info()[1]))
def createContainer(name): from pandatools import Client # don't create containers for HC datasets if not configPanda["processingType"].startswith("gangarobot") and not configPanda["processingType"].startswith( "hammercloud" ): try: Client.createContainer(name, False) logger.info("Created output container %s" % name) except exceptions.SystemExit: raise BackendError( "Panda", "Exception in Client.createContainer %s: %s %s" % (name, sys.exc_info()[0], sys.exc_info()[1]) )