Slipped on the linter.
This commit is contained in:
parent
7eee081405
commit
a1fd0615f8
|
@ -159,14 +159,14 @@ class ConfigureController(SubiquityController):
|
||||||
os.makedirs(packs_dir, exist_ok=True)
|
os.makedirs(packs_dir, exist_ok=True)
|
||||||
try:
|
try:
|
||||||
for package in packages:
|
for package in packages:
|
||||||
# Just write the package uri to a file instead of installing.
|
# Just write the package uri to a file.
|
||||||
archive = os.path.join(packs_dir, cache[package].fullname)
|
archive = os.path.join(packs_dir, cache[package].fullname)
|
||||||
with open(archive, "wt") as f:
|
with open(archive, "wt") as f:
|
||||||
f.write(cache[package].candidate.uri)
|
f.write(cache[package].candidate.uri)
|
||||||
except IOError:
|
except IOError:
|
||||||
log.error("Failed to write %s file.", archive)
|
log.error("Failed to write %s file.", archive)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
cache.update()
|
cache.update()
|
||||||
|
|
Loading…
Reference in New Issue