Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def build_pre(self):
if not os.getenv('ALDEC_PATH'):
raise RuntimeError("Environment variable ALDEC_PATH was not found. It should be set to Riviera Pro install path. Please source /etc/setenv to set it")
super(Rivierapro, self).build_pre()
def build_pre(self):
if not os.getenv('ALDEC_PATH'):
raise RuntimeError("Environment variable ALDEC_PATH was not found. It should be set to Riviera Pro install path. Please source /etc/setenv to set it")
super(Rivierapro, self).build_pre()