mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-05 20:58:42 +02:00
fix --no-init
This commit is contained in:
@@ -228,7 +228,8 @@ class Fetcher:
|
||||
url = makeurl(buildinfo.apiurl, ['source', i, '_pubkey'])
|
||||
try:
|
||||
if self.offline and not os.path.exists(dest):
|
||||
raise oscerr.OscIOError(None, 'Missing pubkey for project \'%s\': --offline not possible' % i)
|
||||
# may need to try parent
|
||||
raise URLGrabError(2)
|
||||
elif not self.offline:
|
||||
OscFileGrabber().urlgrab(url, dest)
|
||||
if not i in buildinfo.prjkeys: # not that many keys usually
|
||||
|
Reference in New Issue
Block a user