[bin] backup.py new mode 'copy' thatdoes not use repozo for backup but a simple copy of Data.fs. [gen] Bugfix in pod.py.

This commit is contained in:
Gaetan Delannay 2014-03-11 15:29:59 +01:00
parent 059828b319
commit d956c1f17a
2 changed files with 89 additions and 69 deletions

View file

@ -72,6 +72,7 @@ class Pod(Field):
# A global styles mapping that would apply to the whole template
self.stylesMapping = stylesMapping
# What are the output formats when generating documents from this pod ?
self.formats = formats
if not formats:
# Compute default ones
if template.endswith('.ods'):