Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/posix.py @ 8219:21cf74ff2deb
whitespace cleanup
author | Peter Arrenbrecht <peter.arrenbrecht@gmail.com> |
---|---|
date | Mon, 27 Apr 2009 09:12:07 +0200 |
parents | c289c3fc5985 |
children | 46293a0c7e9f |
comparison
equal
deleted
inserted
replaced
8218:e61cb2813d2a | 8219:21cf74ff2deb |
---|---|
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''' |