Fixed a case of too few format string parameters.
- Legacy-Id: 17768
This commit is contained in:
parent
81197f044c
commit
02804ba163
|
@ -158,7 +158,7 @@ class DocumentInfo(models.Model):
|
||||||
else:
|
else:
|
||||||
self._cached_base_name = "%s-%s.txt" % (self.name, self.rev)
|
self._cached_base_name = "%s-%s.txt" % (self.name, self.rev)
|
||||||
elif self.type_id in ["slides", "agenda", "minutes", "bluesheets", ] and self.meeting_related():
|
elif self.type_id in ["slides", "agenda", "minutes", "bluesheets", ] and self.meeting_related():
|
||||||
self._cached_base_name = "%s-%s.txt" % self.canonical_name()
|
self._cached_base_name = "%s-%s.txt" % (self.canonical_name(), self.rev)
|
||||||
elif self.type_id == 'review':
|
elif self.type_id == 'review':
|
||||||
# TODO: This will be wrong if a review is updated on the same day it was created (or updated more than once on the same day)
|
# TODO: This will be wrong if a review is updated on the same day it was created (or updated more than once on the same day)
|
||||||
self._cached_base_name = "%s.txt" % self.name
|
self._cached_base_name = "%s.txt" % self.name
|
||||||
|
|
Loading…
Reference in a new issue