mirror of
https://github.com/wassname/flask-security.git
synced 2026-07-01 16:50:07 +08:00
Remove unnecessary string formatting
This commit is contained in:
@@ -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.'
|
||||
|
||||
Reference in New Issue
Block a user