def METHOD_NAME (lines):
    global Cameras, KnownMounts
    cam = {}
    variant = None
    for l in lines:
        l = l.strip ()
        if l [:10] == "menu_make:":
            if not cam.has_key ("maker"):
                cam ["maker"] = l [10:].lstrip ()
        elif l [:11] == "menu_model:":
            variant = l [11:].lstrip ()
            if not cam.has_key ("model"):
                cam ["model"] = variant
        elif l [:10] == "exif_make:":
            l = l [10:].lstrip ()
            if l != "none":
                cam ["maker"] = l
        elif l [:11] == "exif_model:":
            l = l [11:].lstrip ()
            if l != "none":
                cam ["model"] = l
        elif l [:6] == "group:":
            l = l [6:].lstrip ()
            l = KnownMounts.get (l, l)
            if not cam.has_key ("mount"):
                cam ["mount"] = l
                l = None
            CompatMount (l, cam ["mount"])
        elif l [:11] == "multiplier:":
            cam ["cropfactor"] = l [11:].lstrip ()
        else:
            raise Error ("Unknown keyword in camera section: " + l)
    if not cam.has_key ("maker") or not cam.has_key ("model"):
        print("Camera does not have maker or model defined:", cam)
        return
    if not cam.has_key ("mount"):
        print("Camera does not have a mount defined:", cam)
        return
    if not cam ["model"].lower ().__contains__ (variant.lower ()):
        cam ["variant"] = variant;
    Cameras.append (cam)