Changeset 6094
- Timestamp:
- 09/10/07 23:37:23 (10 months ago)
- Files:
-
- django/trunk/django/core/management/base.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/core/management/base.py
r6091 r6094 6 6 import sys 7 7 import os 8 from traceback import print_exc9 8 10 9 class CommandError(Exception): … … 61 60 if options.pythonpath: 62 61 sys.path.insert(0, options.pythonpath) 63 try: 64 self.execute(*args, **options.__dict__) 65 except Exception, e: 66 print_exc() 67 parser.print_usage() 62 self.execute(*args, **options.__dict__) 68 63 69 64 def execute(self, *args, **options):
