Revision fa0a1365 qa/qa_utils.py

b/qa/qa_utils.py
625 625

  
626 626
  sed_data = " ".join(hostnames)
627 627
  try:
628
    AssertCommand(("sed -e '/^\(::1\|127\.0\.0\.1\)\s\+%s/d' %s > %s"
629
                   " && mv %s %s") %
628
    AssertCommand((r"sed -e '/^\(::1\|127\.0\.0\.1\)\s\+%s/d' %s > %s"
629
                   r" && mv %s %s") %
630 630
                   (sed_data, utils.ShellQuote(pathutils.ETC_HOSTS),
631 631
                    quoted_tmp_hosts, quoted_tmp_hosts,
632 632
                    utils.ShellQuote(pathutils.ETC_HOSTS)))

Also available in: Unified diff