Package coprs :: Module config :: Class Config
[hide private]
[frames] | no frames]

Class Config

source code


Instance Methods [hide private]

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  DATA_DIR = os.path.join(os.path.dirname(__file__), "../../data")
  DATABASE = os.path.join(DATA_DIR, "copr.db")
  OPENID_STORE = os.path.join(DATA_DIR, "openid_store")
  WHOOSHEE_DIR = os.path.join(DATA_DIR, "whooshee")
  SECRET_KEY = "THISISNOTASECRETATALL"
  BACKEND_PASSWORD = "thisisbackend"
  USE_ALLOWED_USERS = False
  ALLOWED_USERS = []
  SQLALCHEMY_DATABASE_URI = "sqlite:///"+ os.path.abspath(DATABASE)
  API_TOKEN_LENGTH = 30
  API_TOKEN_EXPIRATION = 180
  SEND_LOGS_TO = ["root@localhost"]
  LOGGING_LEVEL = logging.ERROR
  SEND_LEGAL_TO = ["root@localhost"]
Properties [hide private]

Inherited from object: __class__