Commit 1a9159f2 by Marco Mariani

minor pbs.py fix (generation of comment lines)

1 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),
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!