Revision 0ae14edd qa/qa_env.py

b/qa/qa_env.py
76 76
  seccmd = [pingsecondary, "-e"]
77 77
  for i in nodes:
78 78
    pricmd.append(i["primary"])
79
    if "secondary" in i:
79
    if i.get("secondary"):
80 80
      seccmd.append(i["secondary"])
81 81

  
82 82
  pristr = utils.ShellQuoteArgs(pricmd)

Also available in: Unified diff