Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python 3.10 fix #410

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
django breaks if we return a list
  • Loading branch information
veszig authored Nov 10, 2021
commit 336ac90d0bebae5fb05d365d4ed57c784624ed8a
2 changes: 1 addition & 1 deletion bonobo/contrib/django/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 78,6 @@ def handle(self, *args, **options):
self.stderr.style_func = lambda x: Fore.LIGHTRED_EX Back.RED "!" Style.RESET_ALL " " x

try:
return self.run(*args, **options)
self.run(*args, **options)
finally:
self.stdout, self.stderr = _stdout_backup, _stderr_backup