Only check for the rebuild project if cbuild has been set
Fixes issue #2349
This commit is contained in:
parent
ac861592d3
commit
86651a28f9
@ -128,7 +128,7 @@ class AcceptCommand(object):
|
||||
|
||||
if self.api.project.startswith('openSUSE:'):
|
||||
self.update_factory_version()
|
||||
if self.api.item_exists(self.api.crebuild):
|
||||
if self.api.crebuild and self.api.item_exists(self.api.crebuild):
|
||||
self.sync_buildfailures()
|
||||
|
||||
return True
|
||||
|
Loading…
x
Reference in New Issue
Block a user