Mercurial > hg > MakeItSo
comparison makeitso/template.py @ 73:3db48fdc6be3
typo
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 07 Jan 2011 18:11:29 -0800 |
parents | f44af8f30147 |
children | d16823fd8c4a |
comparison
equal
deleted
inserted
replaced
72:f44af8f30147 | 73:3db48fdc6be3 |
---|---|
54 names = set() | 54 names = set() |
55 retval = [] | 55 retval = [] |
56 for arg in args: | 56 for arg in args: |
57 if isinstance(arg, MakeItSoTemplate): | 57 if isinstance(arg, MakeItSoTemplate): |
58 arg = arg.vars | 58 arg = arg.vars |
59 for variable in args: | 59 for variable in arg: |
60 if variable.name in names: | 60 if variable.name in names: |
61 continue | 61 continue |
62 retval.append(variable.copy()) | 62 retval.append(variable.copy()) |
63 return retval | 63 return retval |
64 | 64 |