#18387: Provide a way to skip sys.exit() when using call_command() -------------------------------------+------------------------------------- Reporter: claudep | Owner: nobody Type: New feature | Status: closed Component: Core (Management | Version: master commands) | Resolution: fixed Severity: Normal | Triage Stage: Ready for Keywords: | checkin Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by Claude Paroz <claude@…>):
* status: new => closed * resolution: => fixed Comment: In [f2b6763ad7cb281ca8699a9c3d532a82f965be4f]: {{{ #!CommitTicketReference repository="" revision="f2b6763ad7cb281ca8699a9c3d532a82f965be4f" Fixed #18387 -- Do not call sys.exit during call_command. Moved sys.exit(1) so as failing management commands reach it only when running from command line. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/18387#comment:3> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.