mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-07 16:41:34 +00:00
Skip bug-based processing if BugsV is missing
This commit is contained in:
parent
55dd22fe9b
commit
848a4645d8
@ -528,6 +528,10 @@ class RCBugPolicy(BasePolicy):
|
|||||||
name and the value is the list of open RC bugs for it.
|
name and the value is the list of open RC bugs for it.
|
||||||
"""
|
"""
|
||||||
bugs = {}
|
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)
|
self.log("Loading RC bugs data from %s" % filename)
|
||||||
for line in open(filename, encoding='ascii'):
|
for line in open(filename, encoding='ascii'):
|
||||||
l = line.split()
|
l = line.split()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user