Mercurial > hg > MakeItSo
comparison makeitso/makeitso.py @ 128:0107f95376b3
fix typo
| author | Jeff Hammel <jhammel@mozilla.com> |
|---|---|
| date | Fri, 08 Jul 2011 10:15:39 -0700 |
| parents | b8d5d2041fe0 |
| children | 169e02e190ef |
comparison
equal
deleted
inserted
replaced
| 127:829b7f528483 | 128:0107f95376b3 |
|---|---|
| 263 missing.update(missed) | 263 missing.update(missed) |
| 264 variables.update(dict([(i, '') for i in missed])) | 264 variables.update(dict([(i, '') for i in missed])) |
| 265 | 265 |
| 266 # find variables from files | 266 # find variables from files |
| 267 for f in filenames: | 267 for f in filenames: |
| 268 missed = ContentTemplate(d).missing(**vars) | 268 missed = ContentTemplate(f).missing(**vars) |
| 269 missing.update(missed) | 269 missing.update(missed) |
| 270 variables.update(dict([(i, '') for i in missed])) | 270 variables.update(dict([(i, '') for i in missed])) |
| 271 | 271 |
| 272 path = os.path.join(dirpath, f) | 272 path = os.path.join(dirpath, f) |
| 273 template = URITemplate(path, interactive=self.interactive) | 273 template = URITemplate(path, interactive=self.interactive) |
