Skip to content

Commit

Permalink
build.py: fix bad indentation
Browse files Browse the repository at this point in the history
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
  • Loading branch information
dalgaaf committed May 27, 2013
1 parent 6db0431 commit 7e3a901
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions osc/build.py
Expand Up @@ -499,10 +499,10 @@ def main(apiurl, opts, argv):
apihost = urlsplit(apiurl)[1]
if not build_root:
try:
build_root = config['build-root'] % {'repo': repo, 'arch': arch,
'project': prj, 'package': pacname, 'apihost': apihost}
build_root = config['build-root'] % {'repo': repo, 'arch': arch,
'project': prj, 'package': pacname, 'apihost': apihost}
except:
build_root = config['build-root']
build_root = config['build-root']

cache_dir = config['packagecachedir'] % {'apihost': apihost}

Expand Down Expand Up @@ -810,13 +810,13 @@ def __str__(self):
os.symlink(sffn, tffn)
if prefer_pkgs:
for name, path in prefer_pkgs.items():
if name == filename:
print("Using prefered package: " + path + "/" + filename)
os.unlink(tffn)
if opts.linksources:
os.link(path + "/" + filename, tffn)
else:
os.symlink(path + "/" + filename, tffn)
if name == filename:
print("Using prefered package: " + path + "/" + filename)
os.unlink(tffn)
if opts.linksources:
os.link(path + "/" + filename, tffn)
else:
os.symlink(path + "/" + filename, tffn)

if vm_type == "xen" or vm_type == "kvm" or vm_type == "lxc":
print('Skipping verification of package signatures due to secure VM build')
Expand Down

0 comments on commit 7e3a901

Please sign in to comment.