- originremark = ""
- try:
- originosuite = cnf["Check-Overrides::OverrideSuites::%s::OriginSuite" % osuite]
- originosuite = originosuite.lower()
+ originremark = ''
+
+ if suite.overrideorigin is not None:
+ originosuite = get_suite(suite.overrideorigin, session)
+ if originosuite is None:
+ utils.fubar("%s has an override origin suite of %s but it doesn't exist!" % (suite.suite_name, suite.overrideorigin))
+ originosuite = originosuite.suite_name