##// END OF EJS Templates
possible fix for #486 undefined variable username...
possible fix for #486 undefined variable username - cleaned a code on git/hg middleware

File last commit:

r1632:5b2cf21b beta
r2500:94ef0b60 beta
Show More
default.py_tmpl
12 lines | 286 B | text/plain | TextLexer
#!/usr/bin/env python
from migrate.versioning.shell import main
{{py:
_vars = locals().copy()
del _vars['__template_name__']
_vars.pop('repository_name', None)
defaults = ", ".join(["%s='%s'" % var for var in _vars.iteritems()])
}}
if __name__ == '__main__':
main({{ defaults }})