Revision 3ecf6786 lib/ssh.py
b/lib/ssh.py | ||
---|---|---|
50 | 50 |
argv.append("-oBatchMode=yes") |
51 | 51 |
# if we are in batch mode, we can't ask the key |
52 | 52 |
if ask_key: |
53 |
raise errors.ProgrammerError, ("SSH call requested conflicting options")
|
|
53 |
raise errors.ProgrammerError("SSH call requested conflicting options") |
|
54 | 54 |
if ask_key: |
55 | 55 |
argv.append("-oStrictHostKeyChecking=ask") |
56 | 56 |
else: |
Also available in: Unified diff