diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-03-28 11:42:41 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-03-28 11:42:41 +0100 |
| commit | b4574b03425f1b4313b8bbb8f39fe44c592322de (patch) | |
| tree | 01485bb17b5e16e29b7a1f63890d96875b07d11e | |
| parent | def3d617440501aa4d565df5613ac7856ad042e9 (diff) | |
Syntax error.
| -rwxr-xr-x | cdist | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -178,7 +178,7 @@ def copyfile(a, b): host = b[:bc] path = b[bc+1:] temp_path = os.path.join(os.path.dirname(path), ".tmp." + os.path.basename(path)) - command('scp %s %s' % (scp_escape(a), scp_escape('%s:%s' % (host, temp_path))) + command('scp %s %s' % (scp_escape(a), scp_escape('%s:%s' % (host, temp_path)))) command('ssh %s -- mv %s %s' % (host, scp_escape(temp_path), scp_escape(path))) else: command('scp %s %s' % (scp_escape(a), scp_escape(b))) |
