Mercurial > hg > MakeItSo
diff makeitso/python.py @ 116:908e9a653668
fix a syntax error in the python template thanks to some friendly tests
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 20 Jan 2011 17:58:06 -0800 |
parents | 7dbc3cdadffe |
children | b2152efec89a |
line wrap: on
line diff
--- a/makeitso/python.py Tue Jan 18 07:51:50 2011 -0800 +++ b/makeitso/python.py Thu Jan 20 17:58:06 2011 -0800 @@ -60,7 +60,7 @@ # get package name from project # XXX could have looser restrictions with transforms - assert variables['project'].isalpha(), 'Project name must be just letters' + assert variables['project'].isalnum(), 'Project name must be just letters, you gave %s' % variables['project'] variables['package'] = variables['project'].lower() # dependencies