parameters: (kernel_type)
docstring: Passes 'kernel_line' to other routine based on configuration file.
  
      :param kernel_type:
      :return:
docstring_summary: Passes 'kernel_line' to other routine based on configuration file.
docstring_tokens: Passes kernel_line to other routine based on configuration file .
function: def get_kernel_line(kernel_type):
      """
      Passes 'kernel_line' to other routine based on configuration file.
  
      :param kernel_type:
      :return:
      """
      if kernel_type == "fallback":
          if "fallbackKernelLine" in libcalamares.job.configuration:
              return libcalamares.job.configuration["fallbackKernelLine"]
          else:
              return " (fallback)"
      else:
          if "kernelLine" in libcalamares.job.configuration:
              return libcalamares.job.configuration["kernelLine"]
          else:
              return ""
function_tokens: def get_kernel_line ( kernel_type ) : if kernel_type == "fallback" : if "fallbackKernelLine" in libcalamares . job . configuration : return libcalamares . job . configuration [ "fallbackKernelLine" ] else : return " (fallback)" else : if "kernelLine" in libcalamares . job . configuration : return libcalamares . job . configuration [ "kernelLine" ] else : return ""