Mercurial > hg > MakeItSo
diff makeitso/python.py @ 239:cab05bfc59ab
fix typo
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Thu, 28 Jan 2016 12:24:25 -0800 |
parents | a1a615aae3d1 |
children | 5cb893831f53 |
line wrap: on
line diff
--- a/makeitso/python.py Thu Jan 21 09:48:14 2016 -0800 +++ b/makeitso/python.py Thu Jan 28 12:24:25 2016 -0800 @@ -115,7 +115,7 @@ allowable = set(string.letters + string.digits + '_') package = variables['project'].lower() package = ''.join([c for c in package - if c in allowallable]) + if c in allowable]) # TODO better: translation matrix variables['package'] = package @@ -159,5 +159,6 @@ cli = PythonPackageCLI(PythonPackageTemplate) cli(*args) + if __name__ == '__main__': main()