dos2unix, chmod +x

This commit is contained in:
Vincent Jacques
2012-08-04 07:58:30 +02:00
parent 5e58a3575a
commit 609b7b87cf
13 changed files with 419 additions and 419 deletions
@@ -11,13 +11,13 @@
def _useAttributes( self, attributes ):
{% for attribute in class.attributes|dictsort:"name" %}
{% with simple_or_complex=attribute.type.simple|yesno:"simple,complex_as_dict" %}
if "{{ attribute.name }}" in attributes: # pragma no branch
{% with template_name="GithubObject.IsInstance."|add:attribute.type.cardinality|add:"."|add:simple_or_complex|add:".py" %}
assert attributes[ "{{ attribute.name }}" ] is None or {% include template_name with variable="attributes[ \""|add:attribute.name|add:"\" ]"|safe type=attribute.type only %}, attributes[ "{{ attribute.name }}" ]
{% endwith %}
{% endwith %}
{% endwith %}
{% with simple_or_complex=attribute.type.simple|yesno:"simple,complex" %}
{% with template_name="GithubObject.AttributeValue."|add:simple_or_complex|add:".py" %}