Files
PyGithub/CodeGenerator/templates/GithubObject.Concatenation.py
T
Vincent Jacques 04cde900a0 On the way to code generation instead of meta-description
(lots of useless eratic history squashed together in one commit)
2012-05-03 21:51:19 +01:00

1 line
289 B
Python

{% for part in concatenation %}{% if forloop.counter0 > 0 %} + {% endif %}{% if part.type == "constant" %}"{{ part.value }}"{% endif %}{% if part.type == "argument" %}{{ part.value|join:"." }}{% endif %}{% if part.type == "attribute" %}self.{{ part.value|join:"." }}{% endif %}{% endfor %}