diff options
author | Neil Williams <codehelp@debian.org> | 2015-08-16 12:21:26 +0200 |
---|---|---|
committer | Neil Williams <codehelp@debian.org> | 2015-08-16 17:02:12 +0200 |
commit | 34252150c3ca24e1dc88712406f73f0a78d9ea55 (patch) | |
tree | ad9168d67c4593d73e2758df793bb1b653a3bcf2 /vmdebootstrap/grub.py | |
parent | 9d776bb74654b80815fe08d87b5237e577ef1099 (diff) | |
download | vmdebootstrap-34252150c3ca24e1dc88712406f73f0a78d9ea55.tar.gz |
use a constants handler
Add support for using squashfs as an alternative to creating
a tarball of a directory tree.
Diffstat (limited to 'vmdebootstrap/grub.py')
-rw-r--r-- | vmdebootstrap/grub.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vmdebootstrap/grub.py b/vmdebootstrap/grub.py index 22d7658..e511462 100644 --- a/vmdebootstrap/grub.py +++ b/vmdebootstrap/grub.py @@ -20,6 +20,9 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +# pylint: disable=missing-docstring,duplicate-code + + import os import cliapp import logging @@ -29,9 +32,7 @@ from vmdebootstrap.base import ( mount_wrapper, umount_wrapper ) -from vmdebootstrap.uefi import Uefi, arch_table - -# pylint: disable=missing-docstring +from vmdebootstrap.uefi import arch_table def grub_serial_console(rootdir): @@ -53,7 +54,6 @@ class GrubHandler(Base): def __init__(self): super(GrubHandler, self).__init__() - self.uefi = Uefi() def install_grub2(self, rootdev, rootdir): self.message("Configuring grub2") |