From: Ulrich Dangel Date: Sun, 21 Feb 2010 01:39:55 +0000 (+0100) Subject: Always assign an value to GRML_DEFAULT X-Git-Tag: v0.9.22~4 X-Git-Url: https://git.grml.org/?p=grml2usb.git;a=commitdiff_plain;h=08a7f928b0aa4337799f9e50faf97ecb26997be8 Always assign an value to GRML_DEFAULT --- diff --git a/grml2usb b/grml2usb index cb4d621..1155a4a 100755 --- a/grml2usb +++ b/grml2usb @@ -1252,9 +1252,9 @@ def install_iso_files(grml_flavour, iso_mount, device, target): # * provide alternative search_file() if file information is stored in a config.ini file? # * catch "install: .. No space left on device" & CO + global GRML_DEFAULT + GRML_DEFAULT = grml_flavour if options.dryrun: - global GRML_DEFAULT - GRML_DEFAULT = grml_flavour return 0 elif not options.bootloaderonly: logging.info("Copying files. This might take a while....")