Merge branch 'master' into exit_code_and_sigint_cleanup

This commit is contained in:
Nico Schottelius 2012-03-09 23:18:37 +01:00
commit ef4b217d43
2 changed files with 3 additions and 3 deletions

View file

@ -78,7 +78,7 @@ class Remote(object):
self.rmdir(destination)
command = self._copy.split()
# support rsync by appending a "/" to the source if it's a directory
if os.path.isdir(source) == True:
if os.path.isdir(source):
command.extend(["-r", source + "/", self.target_host + ":" + destination])
else:
command.extend(["-r", source, self.target_host + ":" + destination])