1
1
#!/usr/bin/env python
2
2
# -*- coding: utf-8 -*-
4
# MySQL Connector/Python - MySQL driver written in Python.
5
# Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
7
# MySQL Connector/Python is licensed under the terms of the GPLv2
8
# <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most
9
# MySQL Connectors. There are special exceptions to the terms and
10
# conditions of the GPLv2 as it is applied to this software, see the
11
# FOSS License Exception
12
# <http://www.mysql.com/about/legal/licensing/foss-exception.html>.
14
# This program is free software; you can redistribute it and/or modify
15
# it under the terms of the GNU General Public License as published by
16
# the Free Software Foundation.
18
# This program is distributed in the hope that it will be useful,
19
# but WITHOUT ANY WARRANTY; without even the implied warranty of
20
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
# GNU General Public License for more details.
23
# You should have received a copy of the GNU General Public License
24
# along with this program; if not, write to the Free Software
25
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
4
27
from datetime import time
6
29
import mysql.connector