equal
deleted
inserted
replaced
51 pf = output_line[14:] |
51 pf = output_line[14:] |
52 if os.sys.platform == 'OpenVMS': |
52 if os.sys.platform == 'OpenVMS': |
53 if pf[0] == '`': |
53 if pf[0] == '`': |
54 pf = pf[1:-1] # Remove the quotes |
54 pf = pf[1:-1] # Remove the quotes |
55 else: |
55 else: |
56 if pf.startswith("'") and pf.endswith("'") and " " in pf: |
56 if pf.startswith("'") and pf.endswith("'") and " " in pf: |
57 pf = pf[1:-1] # Remove the quotes |
57 pf = pf[1:-1] # Remove the quotes |
58 return pf |
58 return pf |
59 |
59 |
60 def sshargs(sshcmd, host, user, port): |
60 def sshargs(sshcmd, host, user, port): |
61 '''Build argument list for ssh''' |
61 '''Build argument list for ssh''' |