Commit a604d992 authored by Augustin Bouverot's avatar Augustin Bouverot Committed by Vincent A

tools.boilerplate.recipe: Remove underscores in classname

We now get 'AwesomeModule' instead of 'Awesome_Module' when generating
'awesome_module'.
parent e9ed2810
......@@ -60,7 +60,7 @@ class Recipe(object):
def __init__(self, args):
self.name = args.name.lower().replace(' ', '')
self.classname = args.name.title().replace(' ', '')
self.classname = args.name.title().replace(' ', '').replace('_', '')
self.year = datetime.date.today().year
self.author = args.author
self.email = args.email
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment