mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-12 23:56:13 +01:00
fetch.py: fix bad indentation
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
e1ea202802
commit
6db0431cb7
10
osc/fetch.py
10
osc/fetch.py
@ -197,12 +197,12 @@ class Fetcher:
|
||||
import shutil
|
||||
pkgq = packagequery.PackageQuery.query(tmpfile, extra_rpmtags=(1044, 1051, 1052))
|
||||
if pkgq:
|
||||
canonname = pkgq.canonname()
|
||||
canonname = pkgq.canonname()
|
||||
else:
|
||||
if pac_obj is None:
|
||||
print('Unsupported file type: ', tmpfile, file=sys.stderr)
|
||||
sys.exit(1)
|
||||
canonname = pac_obj.binary
|
||||
if pac_obj is None:
|
||||
print('Unsupported file type: ', tmpfile, file=sys.stderr)
|
||||
sys.exit(1)
|
||||
canonname = pac_obj.binary
|
||||
|
||||
fullfilename = os.path.join(destdir, canonname)
|
||||
if pac_obj is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user