Mercurial > hg > MakeItSo
comparison makeitso/makeitso.py @ 32:9422d4ad6c2c
add interactive flag and note about it
| author | Jeff Hammel <jhammel@mozilla.com> |
|---|---|
| date | Wed, 22 Dec 2010 18:46:45 -0800 |
| parents | 17f46f0e0a4a |
| children | 190f310f2f5e |
comparison
equal
deleted
inserted
replaced
| 31:17f46f0e0a4a | 32:9422d4ad6c2c |
|---|---|
| 96 def __init__(self): | 96 def __init__(self): |
| 97 raise NotImplementedError | 97 raise NotImplementedError |
| 98 | 98 |
| 99 class URITemplate(tempita.Template): | 99 class URITemplate(tempita.Template): |
| 100 | 100 |
| 101 def __init__(self): | 101 def __init__(self, interactive=True): |
| 102 # TODO: automagically tell if the program is interactive or not | |
| 102 raise NotImplementedError | 103 raise NotImplementedError |
| 103 | 104 |
| 104 class DirectoryTemplate(tempita.Template): | 105 class DirectoryTemplate(tempita.Template): |
| 105 def __init__(self): | 106 def __init__(self): |
| 106 raise NotImplementedError | 107 raise NotImplementedError |
