summaryrefslogtreecommitdiff
path: root/sqlparse/functions.py
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2013-02-28 08:22:45 +0100
committerAndi Albrecht <albrecht.andi@gmail.com>2013-02-28 08:22:45 +0100
commit58134785ce80f43529c328e1c36a45739f3d84eb (patch)
tree6e55f250dcfe95c090792415436cad6861592f30 /sqlparse/functions.py
parent2fb3665eafbe71b886211b3bf0461bd201748194 (diff)
downloadsqlparse-58134785ce80f43529c328e1c36a45739f3d84eb.tar.gz
Add minimal changes to support Python 2.4.
Fair warning: Support for Python 2.4 may be dropped at any time. But as long as the changes are that minimal and have no significant side-effects we can keep up the compatibility.
Diffstat (limited to 'sqlparse/functions.py')
-rw-r--r--sqlparse/functions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlparse/functions.py b/sqlparse/functions.py
index fbfcc0b..e54457e 100644
--- a/sqlparse/functions.py
+++ b/sqlparse/functions.py
@@ -33,7 +33,7 @@ def getcolumns(stream):
return pipe(stream)
-class IsType():
+class IsType(object):
"""Functor that return is the statement is of a specific type"""
def __init__(self, type):
self.type = type