summaryrefslogtreecommitdiff
path: root/sqlparse/functions.py
diff options
context:
space:
mode:
Diffstat (limited to 'sqlparse/functions.py')
-rw-r--r--sqlparse/functions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sqlparse/functions.py b/sqlparse/functions.py
index 693fe6a..25dc005 100644
--- a/sqlparse/functions.py
+++ b/sqlparse/functions.py
@@ -40,5 +40,5 @@ class IsType():
def __call__(self, stream):
for token_type, value in stream:
- if token_type in Whitespace: continue
- return token_type in Keyword and value == self.type
+ if token_type not in Whitespace:
+ return token_type in Keyword and value == self.type