ATLAS Offline Software
Loading...
Searching...
No Matches
stompconfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2
3
4def config():
5 import os
6 with open(os.environ.get('DQU_MQINFO', '/afs/cern.ch/user/a/atlasdqm/atlas/mqinfo')) as f:
7 return {'username': 'atlasdqm',
8 'passcode': f.read().strip()}
9 raise RuntimeError('Unable to read STOMP connection info')