Fix Python 3 syntax warning (is vs ==)
[grml2usb.git] / grml2usb
index 7434901..db067d4 100755 (executable)
--- a/grml2usb
+++ b/grml2usb
@@ -1688,7 +1688,7 @@ def handle_mbr(device):
                 mbrcode = mbrpath
                 break
 
-        if mbrcode is "":
+        if not mbrcode:
             str_locations = " or ".join(['"%s"' % l for l in mbr_locations])
             logging.error('Cannot find syslinux MBR, install it at %s)',
                           str_locations)