diff options
author | Jesús Leganés Combarro "Piranna" <piranna@gmail.com> | 2012-05-17 23:18:05 +0200 |
---|---|---|
committer | Jesús Leganés Combarro "Piranna" <piranna@gmail.com> | 2012-05-17 23:18:05 +0200 |
commit | 4a41241e8fc084d25cde943263ea507509f9ead4 (patch) | |
tree | abe4308aac28cdbef3ce08e9e4b96e708c527b5d /sqlparse/functions.py | |
parent | 73465819c9d5105f57a9cf5579c5dc78964b37e4 (diff) | |
download | sqlparse-4a41241e8fc084d25cde943263ea507509f9ead4.tar.gz |
Added tests for functions
Diffstat (limited to 'sqlparse/functions.py')
-rw-r--r-- | sqlparse/functions.py | 4 |
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 |