Mercurial > hg > MakeItSo
diff makeitso/makeitso.py @ 6:ac78e26cd568
starting on web example; i have to understand more about shebangs
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 10 Nov 2010 18:11:11 -0800 |
parents | f064be514e53 |
children | a77630b2b491 |
line wrap: on
line diff
--- a/makeitso/makeitso.py Wed Nov 10 18:01:07 2010 -0800 +++ b/makeitso/makeitso.py Wed Nov 10 18:11:11 2010 -0800 @@ -14,6 +14,10 @@ shebang_re = '#!.*makeitso.*' shebang_re = re.compile(shebang_re) +class MissingVariablesException(Exception): + def __init__(self, message, missing): + self.missing = missing + def call(command, *args, **kw): code = subprocess.call(command, *args, **kw) if code: