Show More
@@ -460,6 +460,8 b' class changesettemplater(changesetprinte' | |||||
460 | self.footer = self.t.render(self._parts['footer'], props) |
|
460 | self.footer = self.t.render(self._parts['footer'], props) | |
461 |
|
461 | |||
462 | def templatespec(tmpl, mapfile): |
|
462 | def templatespec(tmpl, mapfile): | |
|
463 | if pycompat.ispy3: | |||
|
464 | assert not isinstance(tmpl, str), 'tmpl must not be a str' | |||
463 | if mapfile: |
|
465 | if mapfile: | |
464 | return formatter.templatespec('changeset', tmpl, mapfile) |
|
466 | return formatter.templatespec('changeset', tmpl, mapfile) | |
465 | else: |
|
467 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now