python3: import __future__ for just in case

Signed-off-by: Satoshi KOBAYASHI <satoshi-k@iij.ad.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
Satoshi KOBAYASHI 2015-11-10 12:33:26 +09:00 committed by FUJITA Tomonori
parent 466cf26d92
commit 3a0ea9e2bb
17 changed files with 34 additions and 0 deletions

View File

@ -13,6 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
import array

View File

@ -23,6 +23,8 @@
# --peers=sw1=localhost:1830:username:password
# (Cmd) raw_get sw1
from __future__ import print_function
import ryu.contrib
ryu.contrib.update_module_path()

View File

@ -29,6 +29,8 @@
# NOTIFICATION from echo-server ['notify-method', ['param1', 'param2']]
# (Cmd)
from __future__ import print_function
import ryu.contrib
ryu.contrib.update_module_path()

View File

@ -15,6 +15,8 @@
# limitations under the License.
from __future__ import print_function
import itertools
import logging
import operator

View File

@ -16,6 +16,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
import base64
import collections
import inspect

View File

@ -14,6 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
import unittest
from nose.tools import ok_, eq_, timed, nottest

View File

@ -110,6 +110,8 @@ Here is my sys.config used for this test.
"""
from __future__ import print_function
import traceback
import lxml.etree

View File

@ -14,6 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
import time
import random

View File

@ -1,4 +1,7 @@
#! /usr/bin/env python
from __future__ import print_function
import getopt
import os
import six

View File

@ -13,6 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
import unittest
import logging
import struct

View File

@ -13,6 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
import unittest
import logging
import netaddr

View File

@ -14,6 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
import base64
import six
import unittest

View File

@ -14,6 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
import six
import sys
import unittest

View File

@ -14,6 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
import six
import sys
import unittest

View File

@ -14,6 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
try:
# Python 3
from functools import reduce

View File

@ -14,6 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
import unittest
from nose.tools import eq_
from nose.tools import ok_

View File

@ -16,6 +16,8 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
from __future__ import print_function
import unittest
import logging
import six