mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 10:25:36 -04:00
Merge pull request #733 from siduction/pep8-initramfs
Fixed pep8 whining in modulde initramfs
This commit is contained in:
commit
1dfc12e276
1 changed files with 5 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
||||||
# === This file is part of Calamares - <http://github.com/calamares> ===
|
# === This file is part of Calamares - <http://github.com/calamares> ===
|
||||||
#
|
#
|
||||||
# Copyright 2014, Philip Müller <philm@manjaro.org>
|
# Copyright 2014, Philip Müller <philm@manjaro.org>
|
||||||
|
# Copyright 2017, Alf Gaida <agaida@siduction.org>
|
||||||
#
|
#
|
||||||
# Calamares is free software: you can redistribute it and/or modify
|
# Calamares is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
@ -29,4 +30,7 @@ def run():
|
||||||
return_code = target_env_call(["update-initramfs", "-k", "all", "-u"])
|
return_code = target_env_call(["update-initramfs", "-k", "all", "-u"])
|
||||||
|
|
||||||
if return_code != 0:
|
if return_code != 0:
|
||||||
return "Failed to run update-initramfs on the target", "The exit code was {}".format(return_code)
|
return (
|
||||||
|
"Failed to run update-initramfs on the target",
|
||||||
|
"The exit code was {}".format(return_code)
|
||||||
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue