Skip to content

Commit d58f408

Browse files
committed
fix style check
1 parent f5a4110 commit d58f408

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

debug_toolbar/utils.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -215,13 +215,9 @@ def get_sorted_request_variable(variable):
215215
Get a sorted list of variables from the request data.
216216
"""
217217
if isinstance(variable, dict):
218-
return [
219-
(k, variable.get(k)) for k in sorted(variable)
220-
]
218+
return [(k, variable.get(k)) for k in sorted(variable)]
221219
else:
222-
return [
223-
(k, variable.getlist(k)) for k in sorted(variable)
224-
]
220+
return [(k, variable.getlist(k)) for k in sorted(variable)]
225221

226222

227223
def get_stack(context=1):

0 commit comments

Comments
 (0)