diff --git a/policies/policy.py b/policies/policy.py index 60dacf9..4d3e909 100644 --- a/policies/policy.py +++ b/policies/policy.py @@ -494,6 +494,10 @@ class RCBugPolicy(BasePolicy): name and the value is the list of open RC bugs for it. """ bugs = {} + if not os.path.exists(filename): + self.log("%s missing; skipping bug-based processing" % filename) + return bugs + self.log("Loading RC bugs data from %s" % filename) for line in open(filename, encoding='ascii'): l = line.split()