Return nicely wrapped string representation of all available template names
(self)
| 172 | """.format(default=repr(self.default), available=self._available_templates_str()) |
| 173 | |
| 174 | def _available_templates_str(self): |
| 175 | """ |
| 176 | Return nicely wrapped string representation of all |
| 177 | available template names |
| 178 | """ |
| 179 | available = "\n".join( |
| 180 | textwrap.wrap( |
| 181 | repr(list(self)), |
| 182 | width=79 - 8, |
| 183 | initial_indent=" " * 8, |
| 184 | subsequent_indent=" " * 9, |
| 185 | ) |
| 186 | ) |
| 187 | return available |
| 188 | |
| 189 | def merge_templates(self, *args): |
| 190 | """ |