Revision b705c7a6 daemons/import-export

b/daemons/import-export
408 408
  # Normalize and check parameters
409 409
  if options.host is not None:
410 410
    try:
411
      options.host = netutils.HostInfo.NormalizeName(options.host)
411
      options.host = netutils.Hostname.GetNormalizedName(options.host)
412 412
    except errors.OpPrereqError, err:
413 413
      parser.error("Invalid hostname '%s': %s" % (options.host, err))
414 414

  

Also available in: Unified diff