Optimize away a string replacement :-)

This commit is contained in:
Toshio Kuratomi
2015-01-14 09:15:30 -08:00
parent 4010f79441
commit 4add30c96e
2 changed files with 1 additions and 2 deletions

View File

@@ -156,7 +156,6 @@ class ModuleReplacer(object):
# these strings should be part of the 'basic' snippet which is required to be included
module_data = module_data.replace(REPLACER_VERSION, repr(__version__))
module_data = module_data.replace(REPLACER_ARGS, "''")
module_data = module_data.replace(REPLACER_COMPLEX, encoded_args)
# FIXME: we're not passing around an inject dictionary anymore, so