TrivialFix: Remove unnecessary future imports
print_function has been available since python 3.0.0 We can drop its import from __future__ Change-Id: I5f8c45c85ba66d29dc89ee6c0589044e413a549c Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
This commit is contained in:
parent
3c88e82871
commit
33a2ea9e97
@ -16,8 +16,6 @@
|
|||||||
# W0621: Redefining name %s from outer scope
|
# W0621: Redefining name %s from outer scope
|
||||||
# pylint: disable=W0603,W0621
|
# pylint: disable=W0603,W0621
|
||||||
|
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
import getpass
|
import getpass
|
||||||
import inspect
|
import inspect
|
||||||
import os
|
import os
|
||||||
|
@ -18,8 +18,6 @@
|
|||||||
Command-line interface to the OpenStack Manila API.
|
Command-line interface to the OpenStack Manila API.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import glob
|
import glob
|
||||||
import imp
|
import imp
|
||||||
|
@ -18,8 +18,6 @@ wrong the tests might raise AssertionError. I've indicated in comments the
|
|||||||
places where actual behavior differs from the spec.
|
places where actual behavior differs from the spec.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
|
|
||||||
def assert_has_keys(dictonary, required=None, optional=None):
|
def assert_has_keys(dictonary, required=None, optional=None):
|
||||||
if required is None:
|
if required is None:
|
||||||
|
@ -13,8 +13,6 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
import manilaclient
|
import manilaclient
|
||||||
from manilaclient import api_versions
|
from manilaclient import api_versions
|
||||||
from manilaclient.tests.unit.v2 import fake_clients as fakes
|
from manilaclient.tests.unit.v2 import fake_clients as fakes
|
||||||
|
@ -13,8 +13,6 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
|
|
||||||
from operator import xor
|
from operator import xor
|
||||||
import os
|
import os
|
||||||
|
@ -20,8 +20,6 @@
|
|||||||
Installation script for Nova's development virtualenv
|
Installation script for Nova's development virtualenv
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
import optparse
|
import optparse
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
|
Loading…
Reference in New Issue
Block a user