Skip to content

Commit

Permalink
Type aspects fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Gagravarr committed Nov 19, 2015
1 parent 6cc5393 commit 607acf1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion converters.py
Expand Up @@ -76,7 +76,7 @@ def _end(self):
self.out.write(" </properties>\n")
if self.aspects:
self.out.write(" <mandatory-aspects>\n")
for aspect in form.aspects:
for aspect in self.aspects:
self.out.write(" <aspect>%s</aspect>\n" % aspect)
self.out.write(" </mandatory-aspects>\n")
if self.associations:
Expand Down Expand Up @@ -106,6 +106,7 @@ def start_type(self, form):
self.out.write(" <title>%s</title>\n" % form.form_title)
self.out.write(" <parent>%s</parent>\n" % alf_task_type)
self._start()
self.aspects = form.aspects

def end_type(self, form):
self._end()
Expand Down

0 comments on commit 607acf1

Please sign in to comment.