Remove unnecessary string formatting

This commit is contained in:
Matt Wright
2012-07-13 16:05:25 -04:00
parent 0a0b5ecade
commit 7db68da8c6
-3
View File
@@ -138,10 +138,7 @@ class GenerateBlueprintCommand(Command):
TODO: Documentation URL
\"""
"""
ctx = dict(module_name=inspect.getmodulename(output))
to_replace = to_replace % ctx
contents = s.read().replace(to_remove, to_replace)
o.write(contents)
print 'File generated successfully.'