diff options
| author | Andi Albrecht <albrecht.andi@gmail.com> | 2012-11-03 12:45:52 +0100 |
|---|---|---|
| committer | Andi Albrecht <albrecht.andi@gmail.com> | 2012-11-03 12:45:52 +0100 |
| commit | c67a742e01ee7084ffd6ec0d531b96e343e6a5a5 (patch) | |
| tree | 6b03ac07bb5aa47af1d6c3bbf521561c7b591828 /sqlparse/__init__.py | |
| parent | 0a877102119d4738369c1464107123f3f9e6978d (diff) | |
| download | sqlparse-c67a742e01ee7084ffd6ec0d531b96e343e6a5a5.tar.gz | |
Move SQLParseError to proper location and start deprecation of sqlparse.SQLParseError.
Diffstat (limited to 'sqlparse/__init__.py')
| -rw-r--r-- | sqlparse/__init__.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sqlparse/__init__.py b/sqlparse/__init__.py index a380e33..230fd0d 100644 --- a/sqlparse/__init__.py +++ b/sqlparse/__init__.py @@ -9,15 +9,14 @@ __version__ = '0.1.4' -class SQLParseError(Exception): - """Base class for exceptions in this module.""" - - # Setup namespace from sqlparse import engine from sqlparse import filters from sqlparse import formatter +# Deprecated in 0.1.5. Will be removed in 0.2.0 +from sqlparse.exceptions import SQLParseError + def parse(sql): """Parse sql and return a list of statements. |
