Add or Update copyright year to files

This commit is contained in:
Victor Uriarte 2016-06-03 13:47:04 -07:00
parent d488a0c05c
commit af2a3fa7eb
16 changed files with 73 additions and 21 deletions

View File

@ -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.
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@ -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

View File

@ -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

View File

@ -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."""

View File

@ -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

View File

@ -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"""

View File

@ -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

View File

@ -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

View File

@ -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."""

View File

@ -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

View File

@ -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"""

View File

@ -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

View File

@ -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"""

View File

@ -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."""

View File

@ -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/

View File

@ -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