This commit is contained in:
iElectric 2010-09-12 13:29:17 +02:00
parent 8e5eb8f634
commit ff93b652ca
2 changed files with 6 additions and 1 deletions

2
TODO
View File

@ -17,6 +17,8 @@ Unknown milestone
- bash autocompletion
- clarify ImportError in load_model
- implement debug flag to jump into the error
- sqlautocode support
- serializers (json, yaml, etc)
0.6.1

View File

@ -64,7 +64,10 @@ def main(argv=None, **kwargs):
:param disable_logging: Let migrate configure logging
:type disable_logging: bool
"""
argv = argv or list(sys.argv[1:])
if argv is not None:
argv = argv
else:
argv = list(sys.argv[1:])
commands = list(api.__all__)
commands.sort()