Fix typo in option handling. v0.9.25
authorMichael Prokop <mika@grml.org>
Thu, 22 Apr 2010 16:11:34 +0000 (18:11 +0200)
committerMichael Prokop <mika@grml.org>
Thu, 22 Apr 2010 16:11:34 +0000 (18:11 +0200)
debian/changelog
grml2usb

index 303c70c..a8879d6 100644 (file)
@@ -1,3 +1,9 @@
+grml2usb (0.9.25) unstable; urgency=low
+
+  * Fix typo in option handling.
+
+ -- Michael Prokop <mika@grml.org>  Thu, 22 Apr 2010 18:10:35 +0200
+
 grml2usb (0.9.24) unstable; urgency=low
 
   [ Ulrich Dangel ]
index 2c3f570..5aea516 100755 (executable)
--- 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":