mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-09 12:35:48 +01:00
- fixed indention
This commit is contained in:
parent
36c0245e80
commit
29a97d17f8
@ -119,10 +119,10 @@ class Fetcher:
|
|||||||
archive.copyin_file(hdr.filename, os.path.dirname(tmpfile), os.path.basename(tmpfile))
|
archive.copyin_file(hdr.filename, os.path.dirname(tmpfile), os.path.basename(tmpfile))
|
||||||
self.move_package(tmpfile, pac.localdir, pac)
|
self.move_package(tmpfile, pac.localdir, pac)
|
||||||
# check if we got all packages... (because we've no .errors file)
|
# check if we got all packages... (because we've no .errors file)
|
||||||
for pac in pkgs.itervalues():
|
for pac in pkgs.itervalues():
|
||||||
if not os.path.isfile(pac.fullfilename):
|
if not os.path.isfile(pac.fullfilename):
|
||||||
raise oscerr.APIError('failed to fetch file \'%s\': ' \
|
raise oscerr.APIError('failed to fetch file \'%s\': ' \
|
||||||
'does not exist in CPIO archive' % pac.repofilename)
|
'does not exist in CPIO archive' % pac.repofilename)
|
||||||
finally:
|
finally:
|
||||||
if not tmparchive is None and os.path.exists(tmparchive):
|
if not tmparchive is None and os.path.exists(tmparchive):
|
||||||
os.unlink(tmparchive)
|
os.unlink(tmparchive)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user