From 9e7ee70e9e76ab01f9b5ff2ae490236bc0e3c6d2 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Thu, 22 Apr 2010 18:11:34 +0200 Subject: [PATCH] Fix typo in option handling. --- debian/changelog | 6 ++++++ grml2usb | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 303c70c..a8879d6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +grml2usb (0.9.25) unstable; urgency=low + + * Fix typo in option handling. + + -- Michael Prokop Thu, 22 Apr 2010 18:10:35 +0200 + grml2usb (0.9.24) unstable; urgency=low [ Ulrich Dangel ] diff --git a/grml2usb b/grml2usb index 2c3f570..5aea516 100755 --- a/grml2usb +++ b/grml2usb @@ -20,7 +20,7 @@ import glob import uuid # global variables -PROG_VERSION = "0.9.24" +PROG_VERSION = "0.9.25" MOUNTED = set() # register mountpoints TMPFILES = set() # register tmpfiles DATESTAMP = time.mktime(datetime.datetime.now().timetuple()) # unique identifier for syslinux.cfg @@ -1941,7 +1941,7 @@ def handle_vfat(device): logging.critical("Execution failed: %s", error) sys.exit(1) - if not os.path.isdir(device) and not check_for_usbdevice(device) and not option.force: + if not os.path.isdir(device) and not check_for_usbdevice(device) and not options.force: print "Warning: the specified device %s does not look like a removable usb device." % device f = raw_input("Do you really want to continue? y/N ") if f == "y" or f == "Y": -- 2.1.4