ATLAS Offline Software
Loading...
Searching...
No Matches
python.stompconfig Namespace Reference

Functions

 config ()

Function Documentation

◆ config()

python.stompconfig.config ( )

Definition at line 4 of file stompconfig.py.

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')