mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
Use shell_plus in shell_scoped
This commit is contained in:
@@ -17,7 +17,7 @@ class Command(BaseCommand):
|
|||||||
flags = parser.parse_known_args(sys.argv[2:])[1]
|
flags = parser.parse_known_args(sys.argv[2:])[1]
|
||||||
if "--override" in flags:
|
if "--override" in flags:
|
||||||
with scopes_disabled():
|
with scopes_disabled():
|
||||||
return call_command("shell", *args, **options)
|
return call_command("shell_plus", *args, **options)
|
||||||
|
|
||||||
lookups = {}
|
lookups = {}
|
||||||
for flag in flags:
|
for flag in flags:
|
||||||
@@ -36,4 +36,4 @@ class Command(BaseCommand):
|
|||||||
for app_name, app_value in lookups.items()
|
for app_name, app_value in lookups.items()
|
||||||
}
|
}
|
||||||
with scope(**scope_options):
|
with scope(**scope_options):
|
||||||
return call_command("shell", *args, **options)
|
return call_command("shell_plus", *args, **options)
|
||||||
|
|||||||
Reference in New Issue
Block a user