Skip to content

Commit 8e06cb7

Browse files
authored
Merge pull request #855 from valentjedi/patch-2
Fix #852, anyway this parameter never used
2 parents f243b5c + cfc0aa4 commit 8e06cb7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

debug_toolbar/panels/sql/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
class BoldKeywordFilter:
1111
"""sqlparse filter to bold SQL keywords"""
12-
def process(self, stack, stream):
12+
def process(self, stream):
1313
"""Process the token stream"""
1414
for token_type, value in stream:
1515
is_keyword = token_type in T.Keyword

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
packages=find_packages(exclude=('tests.*', 'tests', 'example')),
1717
install_requires=[
1818
'Django>=1.8',
19-
'sqlparse',
19+
'sqlparse>=0.2.0',
2020
],
2121
include_package_data=True,
2222
zip_safe=False, # because we're including static files

0 commit comments

Comments
 (0)