summaryrefslogtreecommitdiff
path: root/pato2.py
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-02-14 17:14:37 -0600
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-02-14 17:14:37 -0600
commite4ffbeff4bbdeb3f57c39c6f6dac3ce902db9b4c (patch)
tree23c6cc73bd1215f69db6821d7e51d3f781895821 /pato2.py
parent9fecb003deaae2364e0d9d41055ca33a7d1a2131 (diff)
* Fixed generate_rsync_command
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):