Mercurial > hg > MakeItSo
diff makeitso/makeitso.py @ 40:6b4c8f23192f
test and fix mixed output case
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sun, 02 Jan 2011 00:48:58 -0800 |
parents | a2cdce0108e1 |
children | 9956e13558dd |
line wrap: on
line diff
--- a/makeitso/makeitso.py Sat Jan 01 23:00:59 2011 -0800 +++ b/makeitso/makeitso.py Sun Jan 02 00:48:58 2011 -0800 @@ -315,7 +315,7 @@ # determine where the hell to put these things if self.output is None: dirs = [i for i in self._templates if os.path.isdir(i)] - if not ((len(dirs) == 0) or len(dirs) == len(templates)): + if not ((len(dirs) == 0) or len(dirs) == len(self.templates)): raise AssertionError("Must specify output when mixing directories and URIs") # TODO: check for missing