From 3330df99f382f9ebdb6b6fec244e372ee9988e5f Mon Sep 17 00:00:00 2001 From: Philip Date: Sat, 21 Feb 2015 10:01:38 +0100 Subject: [PATCH] [dracut] add python doc strings --- src/modules/dracut/main.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/dracut/main.py b/src/modules/dracut/main.py index 9935b55bc..5d7b175e9 100644 --- a/src/modules/dracut/main.py +++ b/src/modules/dracut/main.py @@ -3,7 +3,7 @@ # # === This file is part of Calamares - === # -# Copyright 2014, Philip Müller +# Copyright 2014-2015, Philip Müller # Copyright 2014, Teo Mrnjavac # # Calamares is free software: you can redistribute it and/or modify @@ -25,7 +25,7 @@ from libcalamares.utils import chroot_call def run_dracut(): """ - + Creates initramfs, even when initramfs already exists. :return: """ @@ -34,10 +34,10 @@ def run_dracut(): def run(): """ - + Starts routine to create initramfs. It passes back the exit code if it fails. :return: """ returnCode = run_dracut() if returnCode != 0: - return ("Failed to run dracut on the target", "The exit code was {}".format(returnCode)) \ No newline at end of file + return ("Failed to run dracut on the target", "The exit code was {}".format(returnCode))