Source code for selinonlib.predicates.envEqual

#!/usr/bin/env python3

import os


[docs]def envEqual(env, value): if env not in os.environ: return False return os.environ[env] == value