Fixes the auto-generated manage.py

Removes `six` from the locals().copy() so that it won't be templated into
manage.py.  Currently manage.py is mis-templated and is failing.

Change-Id: Ib3b7c7caac998fbaa45c3370547c9b8bf13abe41
Closes-Bug: 171
This commit is contained in:
Peter Conerly 2014-08-02 11:38:38 -07:00
parent 942e03b2b1
commit 5542e1c59a
2 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@ from migrate.versioning.shell import main
import six
_vars = locals().copy()
del _vars['__template_name__']
del _vars['six']
_vars.pop('repository_name', None)
defaults = ", ".join(["%s='%s'" % var for var in six.iteritems(_vars)])
}}

View File

@ -20,6 +20,7 @@ else:
import six
_vars = locals().copy()
del _vars['__template_name__']
del _vars['six']
defaults = ", ".join(["%s='%s'" % var for var in six.iteritems(_vars)])
}}