• File: const.py
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/lib/python2.7/site-packages/clcommon/cpapi/const.py
  • Date Modified: 06/01/2017 4:14 PM
  • File size: 333 bytes
  • MIME-type: text/x-script.python
  • Charset: utf-8
#!/usr/bin/python
# -*- coding: utf-8 -*-

"""
Commonly used constants
"""

CLCPAPI_NAME = 'CloudLinux control panel API'
SUPPORTED_CPINFO = ('cplogin', 'package', 'mail', 'reseller', 'dns', 'locale')

CACHE_CPNAME = '/var/cache/controlpanelname'

UNKNOWN_CP_NAME = 'Unknown'
UNKNOWN_CP_IMPORT = 'from plugins import nopanel as api'