This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/features/__init__.py

5 lines
201 B
Python

def import_features(config_dict):
for feature, feature_val in config_dict.items():
if feature.startswith('FEATURE_'):
feature_name = feature[8:]
globals()[feature_name] = feature_val