summaryrefslogtreecommitdiff
path: root/pato2.py
diff options
context:
space:
mode:
Diffstat (limited to 'pato2.py')
-rw-r--r--pato2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pato2.py b/pato2.py
index 13242f7..74d18be 100644
--- a/pato2.py
+++ b/pato2.py
@@ -195,8 +195,8 @@ def generate_rsync_command(base_command, dir_list, destdir=repodir,
if blacklist_file:
return " ".join((base_command, "--exclude-from-file="+blacklist_file,
- source + dir_list, destdir))
- return " ".join((base_command, source + dir_list, destdir))
+ os.join(source, dir_list), destdir))
+ return " ".join((base_command, os.join(source, dir_list), destdir))
def run_rsync(base_for_rsync, dir_list_for_rsync=(repo_list + dir_list),
debug=verbose):