use if main conditional in manage.py script

This commit is contained in:
iElectric 2010-08-20 15:40:14 +02:00
parent 8e01817b97
commit aff0896e16
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,13 @@
0.6.1 (xxxxxxx)
---------------------------
Fixed bugs
******************
- updated tests for Python 2.7
- added if main condition for manage.py script
- fixed case sensitivity in setup.py dependencies
0.6 (11.07.2010)
---------------------------

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
from migrate.versioning.shell import main
main(%(defaults)s)
if __name__ == '__main__':
main(%(defaults)s)