def mksls(fmt, src, dst=None):
 if (fmt == 'kickstart'):
  return salt.utils.kickstart.mksls(src, dst)
 elif (fmt == 'preseed'):
  return salt.utils.preseed.mksls(src, dst)
 elif (fmt == 'autoyast'):
  return salt.utils.yast.mksls(src, dst)

def mksls ( fmt , src , dst = None ) : if ( fmt == 'kickstart' ) : return salt . utils . kickstart . mksls ( src , dst ) elif ( fmt == 'preseed' ) : return salt . utils . preseed . mksls ( src , dst ) elif ( fmt == 'autoyast' ) : return salt . utils . yast . mksls ( src , dst )
convert an autoyast file to an sls file .