Commit 1a9159f2 authored by Marco Mariani's avatar Marco Mariani

minor pbs.py fix (generation of comment lines)

parent 78d66379
...@@ -156,7 +156,7 @@ class Recipe(GenericSlapRecipe, Notify, Callback): ...@@ -156,7 +156,7 @@ class Recipe(GenericSlapRecipe, Notify, Callback):
fi fi
""") """)
rdiff_wrapper_content = rdiff_wrapper_template % { rdiff_wrapper_content = rdiff_wrapper_template % {
'comment': comments, 'comment': ''.join(('# %s\n' % comment_line) for comment_line in comments),
'rdiffbackup_binary': self.options['rdiffbackup-binary'], 'rdiffbackup_binary': self.options['rdiffbackup-binary'],
'local_directory': local_directory, 'local_directory': local_directory,
'rdiffbackup_parameter': ' \\\n '.join(rdiffbackup_parameter_list), 'rdiffbackup_parameter': ' \\\n '.join(rdiffbackup_parameter_list),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment