# HG changeset patch # User Jeff Hammel # Date 1294452861 28800 # Node ID d16823fd8c4a587e394366146d725df16b6160e6 # Parent 3db48fdc6be3ce7a3669b368526b244500b5dc54 check for subclassing, not instance of diff -r 3db48fdc6be3 -r d16823fd8c4a makeitso/template.py --- a/makeitso/template.py Fri Jan 07 18:11:29 2011 -0800 +++ b/makeitso/template.py Fri Jan 07 18:14:21 2011 -0800 @@ -54,7 +54,7 @@ names = set() retval = [] for arg in args: - if isinstance(arg, MakeItSoTemplate): + if issubclass(arg, MakeItSoTemplate): arg = arg.vars for variable in arg: if variable.name in names: