| .. | |||||
| __pycache__ | |||||
| __init__.py | |||||
| constants.py | |||||
| exceptions.py | |||||
| mailer.py | |||||
| tools.py | |||||
| utils.py |
import os
staging_flag_file = '/opt/cloudlinux/staging_mode'
def staging() -> bool:
"""
Is staging enabled
"""
return os.path.isfile(staging_flag_file)
| .. | |||||
| __pycache__ | |||||
| __init__.py | |||||
| constants.py | |||||
| exceptions.py | |||||
| mailer.py | |||||
| tools.py | |||||
| utils.py |