Mercurial > hg > MakeItSo
diff makeitso/template.py @ 78:d4184945f8a8
stub out python package creation
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sat, 08 Jan 2011 17:54:58 -0800 |
parents | ec35e5763b52 |
children | 712a6d358083 |
line wrap: on
line diff
--- a/makeitso/template.py Sat Jan 08 16:21:29 2011 -0800 +++ b/makeitso/template.py Sat Jan 08 17:54:58 2011 -0800 @@ -96,6 +96,8 @@ # boilerplate variables = variables or {} self.output = output + if not self.description and hasattr(self, '__doc__'): + self.description = self.__doc__ self.interactive = interactive _file = sys.modules[self.__class__.__module__].__file__ self.location = os.path.dirname(os.path.abspath(_file))