We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5a4110 commit d58f408Copy full SHA for d58f408
debug_toolbar/utils.py
@@ -215,13 +215,9 @@ def get_sorted_request_variable(variable):
215
Get a sorted list of variables from the request data.
216
"""
217
if isinstance(variable, dict):
218
- return [
219
- (k, variable.get(k)) for k in sorted(variable)
220
- ]
+ return [(k, variable.get(k)) for k in sorted(variable)]
221
else:
222
223
- (k, variable.getlist(k)) for k in sorted(variable)
224
+ return [(k, variable.getlist(k)) for k in sorted(variable)]
225
226
227
def get_stack(context=1):
0 commit comments