diff options
| -rw-r--r-- | LICENSE | 4 | ||||
| -rwxr-xr-x | bin/sqlformat | 7 | ||||
| -rw-r--r-- | setup.py | 6 | ||||
| -rw-r--r-- | sqlparse/__init__.py | 6 | ||||
| -rw-r--r-- | sqlparse/compat.py | 7 | ||||
| -rw-r--r-- | sqlparse/engine/__init__.py | 6 | ||||
| -rw-r--r-- | sqlparse/engine/filter.py | 5 | ||||
| -rw-r--r-- | sqlparse/engine/grouping.py | 5 | ||||
| -rw-r--r-- | sqlparse/exceptions.py | 6 | ||||
| -rw-r--r-- | sqlparse/filters.py | 5 | ||||
| -rw-r--r-- | sqlparse/formatter.py | 6 | ||||
| -rw-r--r-- | sqlparse/keywords.py | 5 | ||||
| -rw-r--r-- | sqlparse/lexer.py | 6 | ||||
| -rw-r--r-- | sqlparse/sql.py | 5 | ||||
| -rw-r--r-- | sqlparse/tokens.py | 8 | ||||
| -rw-r--r-- | sqlparse/utils.py | 7 |
16 files changed, 73 insertions, 21 deletions
@@ -1,4 +1,4 @@ -Copyright (c) 2009, Andi Albrecht <albrecht.andi@gmail.com> +Copyright (c) 2016, Andi Albrecht <albrecht.andi@gmail.com> All rights reserved. Redistribution and use in source and binary forms, with or without modification, @@ -22,4 +22,4 @@ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\ No newline at end of file +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/bin/sqlformat b/bin/sqlformat index 234393f..fa20ded 100755 --- a/bin/sqlformat +++ b/bin/sqlformat @@ -1,9 +1,10 @@ #!/usr/bin/env python - -# Copyright (C) 2008 Andi Albrecht, albrecht.andi@gmail.com +# -*- coding: utf-8 -*- +# +# Copyright (C) 2016 Andi Albrecht, albrecht.andi@gmail.com # # This module is part of python-sqlparse and is released under -# the BSD License: http://www.opensource.org/licenses/bsd-license.php. +# the BSD License: http://www.opensource.org/licenses/bsd-license.php import optparse import os @@ -1,7 +1,9 @@ -# Copyright (C) 2008 Andi Albrecht, albrecht.andi@gmail.com +# -*- coding: utf-8 -*- +# +# Copyright (C) 2016 Andi Albrecht, albrecht.andi@gmail.com # # This setup script is part of python-sqlparse and is released under -# the BSD License: http://www.opensource.org/licenses/bsd-license.php. +# the BSD License: http://www.opensource.org/licenses/bsd-license.php import re import sys diff --git a/sqlparse/__init__.py b/sqlparse/__init__.py index 794bf57..2943997 100644 --- a/sqlparse/__init__.py +++ b/sqlparse/__init__.py @@ -1,7 +1,9 @@ -# Copyright (C) 2008 Andi Albrecht, albrecht.andi@gmail.com +# -*- coding: utf-8 -*- +# +# Copyright (C) 2016 Andi Albrecht, albrecht.andi@gmail.com # # This module is part of python-sqlparse and is released under -# the BSD License: http://www.opensource.org/licenses/bsd-license.php. +# the BSD License: http://www.opensource.org/licenses/bsd-license.php """Parse SQL statements.""" diff --git a/sqlparse/compat.py b/sqlparse/compat.py index c1aacf6..0226a00 100644 --- a/sqlparse/compat.py +++ b/sqlparse/compat.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# +# Copyright (C) 2016 Andi Albrecht, albrecht.andi@gmail.com +# +# This module is part of python-sqlparse and is released under +# the BSD License: http://www.opensource.org/licenses/bsd-license.php + """Python 2/3 compatibility. This module only exists to avoid a dependency on six diff --git a/sqlparse/engine/__init__.py b/sqlparse/engine/__init__.py index c6b8b0c..1c2bf09 100644 --- a/sqlparse/engine/__init__.py +++ b/sqlparse/engine/__init__.py @@ -1,7 +1,9 @@ -# Copyright (C) 2008 Andi Albrecht, albrecht.andi@gmail.com +# -*- coding: utf-8 -*- +# +# Copyright (C) 2016 Andi Albrecht, albrecht.andi@gmail.com # # This module is part of python-sqlparse and is released under -# the BSD License: http://www.opensource.org/licenses/bsd-license.php. +# the BSD License: http://www.opensource.org/licenses/bsd-license.php """filter""" diff --git a/sqlparse/engine/filter.py b/sqlparse/engine/filter.py index adf48ad..71020e7 100644 --- a/sqlparse/engine/filter.py +++ b/sqlparse/engine/filter.py @@ -1,4 +1,9 @@ # -*- coding: utf-8 -*- +# +# Copyright (C) 2016 Andi Albrecht, albrecht.andi@gmail.com +# +# This module is part of python-sqlparse and is released under +# the BSD License: http://www.opensource.org/licenses/bsd-license.php from sqlparse.sql import Statement, Token from sqlparse import tokens as T diff --git a/sqlparse/engine/grouping.py b/sqlparse/engine/grouping.py index 7a93b5e..0ac1cb3 100644 --- a/sqlparse/engine/grouping.py +++ b/sqlparse/engine/grouping.py @@ -1,4 +1,9 @@ # -*- coding: utf-8 -*- +# +# Copyright (C) 2016 Andi Albrecht, albrecht.andi@gmail.com +# +# This module is part of python-sqlparse and is released under +# the BSD License: http://www.opensource.org/licenses/bsd-license.php from sqlparse import sql from sqlparse import tokens as T diff --git a/sqlparse/exceptions.py b/sqlparse/exceptions.py index ec25afa..d2948ca 100644 --- a/sqlparse/exceptions.py +++ b/sqlparse/exceptions.py @@ -1,7 +1,9 @@ -# Copyright (C) 2012 Andi Albrecht, albrecht.andi@gmail.com +# -*- coding: utf-8 -*- +# +# Copyright (C) 2016 Andi Albrecht, albrecht.andi@gmail.com # # This module is part of python-sqlparse and is released under -# the BSD License: http://www.opensource.org/licenses/bsd-license.php. +# the BSD License: http://www.opensource.org/licenses/bsd-license.php """Exceptions used in this package.""" diff --git a/sqlparse/filters.py b/sqlparse/filters.py index f3fe1f1..1cb2f16 100644 --- a/sqlparse/filters.py +++ b/sqlparse/filters.py @@ -1,4 +1,9 @@ # -*- coding: utf-8 -*- +# +# Copyright (C) 2016 Andi Albrecht, albrecht.andi@gmail.com +# +# This module is part of python-sqlparse and is released under +# the BSD License: http://www.opensource.org/licenses/bsd-license.php import re diff --git a/sqlparse/formatter.py b/sqlparse/formatter.py index 05ea327..d4d506d 100644 --- a/sqlparse/formatter.py +++ b/sqlparse/formatter.py @@ -1,7 +1,9 @@ -# Copyright (C) 2008 Andi Albrecht, albrecht.andi@gmail.com +# -*- coding: utf-8 -*- +# +# Copyright (C) 2016 Andi Albrecht, albrecht.andi@gmail.com # # This module is part of python-sqlparse and is released under -# the BSD License: http://www.opensource.org/licenses/bsd-license.php. +# the BSD License: http://www.opensource.org/licenses/bsd-license.php """SQL formatter""" diff --git a/sqlparse/keywords.py b/sqlparse/keywords.py index 9cda48a..c6db0a9 100644 --- a/sqlparse/keywords.py +++ b/sqlparse/keywords.py @@ -1,4 +1,9 @@ # -*- coding: utf-8 -*- +# +# Copyright (C) 2016 Andi Albrecht, albrecht.andi@gmail.com +# +# This module is part of python-sqlparse and is released under +# the BSD License: http://www.opensource.org/licenses/bsd-license.php from sqlparse import tokens diff --git a/sqlparse/lexer.py b/sqlparse/lexer.py index bb7fb48..84c8e78 100644 --- a/sqlparse/lexer.py +++ b/sqlparse/lexer.py @@ -1,9 +1,9 @@ # -*- coding: utf-8 -*- - -# Copyright (C) 2008 Andi Albrecht, albrecht.andi@gmail.com +# +# Copyright (C) 2016 Andi Albrecht, albrecht.andi@gmail.com # # This module is part of python-sqlparse and is released under -# the BSD License: http://www.opensource.org/licenses/bsd-license.php. +# the BSD License: http://www.opensource.org/licenses/bsd-license.php """SQL Lexer""" diff --git a/sqlparse/sql.py b/sqlparse/sql.py index 3177831..6abc432 100644 --- a/sqlparse/sql.py +++ b/sqlparse/sql.py @@ -1,4 +1,9 @@ # -*- coding: utf-8 -*- +# +# Copyright (C) 2016 Andi Albrecht, albrecht.andi@gmail.com +# +# This module is part of python-sqlparse and is released under +# the BSD License: http://www.opensource.org/licenses/bsd-license.php """This module contains classes representing syntactical elements of SQL.""" diff --git a/sqlparse/tokens.py b/sqlparse/tokens.py index b259627..73868b6 100644 --- a/sqlparse/tokens.py +++ b/sqlparse/tokens.py @@ -1,8 +1,10 @@ -# Copyright (C) 2008 Andi Albrecht, albrecht.andi@gmail.com +# -*- coding: utf-8 -*- +# +# Copyright (C) 2016 Andi Albrecht, albrecht.andi@gmail.com # # This module is part of python-sqlparse and is released under -# the BSD License: http://www.opensource.org/licenses/bsd-license.php. - +# the BSD License: http://www.opensource.org/licenses/bsd-license.php +# # The Token implementation is based on pygment's token system written # by Georg Brandl. # http://pygments.org/ diff --git a/sqlparse/utils.py b/sqlparse/utils.py index 90acb5c..2513c26 100644 --- a/sqlparse/utils.py +++ b/sqlparse/utils.py @@ -1,3 +1,10 @@ +# -*- coding: utf-8 -*- +# +# Copyright (C) 2016 Andi Albrecht, albrecht.andi@gmail.com +# +# This module is part of python-sqlparse and is released under +# the BSD License: http://www.opensource.org/licenses/bsd-license.php + import itertools import re from collections import OrderedDict, deque |
