Use GRML_{FLAVOURS,DEFAULT}, PROG_VERSION from global scope.
[grml2usb.git] / grml2usb
index 708409b..bde7244 100755 (executable)
--- a/grml2usb
+++ b/grml2usb
@@ -1000,7 +1000,6 @@ def write_uuid(target_file):
 
 
 def get_uuid(target):
-    print 1111
     conf_target = target + "/conf/"
     uuid_file_name = conf_target + "/bootid.txt"
     if os.path.isdir(conf_target):
@@ -1919,6 +1918,9 @@ def handle_bootloader(device):
 
 def main():
     """Main function [make pylint happy :)]"""
+    global GRML_FLAVOURS
+    global GRML_DEFAULT
+    global PROG_VERSION
 
     if options.version:
         print os.path.basename(sys.argv[0]) + " " + PROG_VERSION