Browse Source

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>
changes/37/725637/1
Goutham Pacha Ravi 9 months ago
parent
commit
33a2ea9e97
6 changed files with 0 additions and 12 deletions
  1. +0
    -2
      manilaclient/common/cliutils.py
  2. +0
    -2
      manilaclient/shell.py
  3. +0
    -2
      manilaclient/tests/unit/fakes.py
  4. +0
    -2
      manilaclient/tests/unit/v2/fakes.py
  5. +0
    -2
      manilaclient/v2/shell.py
  6. +0
    -2
      tools/install_venv.py

+ 0
- 2
manilaclient/common/cliutils.py View File

@ -16,8 +16,6 @@
# W0621: Redefining name %s from outer scope
# pylint: disable=W0603,W0621
from __future__ import print_function
import getpass
import inspect
import os


+ 0
- 2
manilaclient/shell.py View File

@ -18,8 +18,6 @@
Command-line interface to the OpenStack Manila API.
"""
from __future__ import print_function
import argparse
import glob
import imp


+ 0
- 2
manilaclient/tests/unit/fakes.py View File

@ -18,8 +18,6 @@ wrong the tests might raise AssertionError. I've indicated in comments the
places where actual behavior differs from the spec.
"""
from __future__ import print_function
def assert_has_keys(dictonary, required=None, optional=None):
if required is None:


+ 0
- 2
manilaclient/tests/unit/v2/fakes.py View File

@ -13,8 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
import manilaclient
from manilaclient import api_versions
from manilaclient.tests.unit.v2 import fake_clients as fakes


+ 0
- 2
manilaclient/v2/shell.py View File

@ -13,8 +13,6 @@
# License for the specific language governing permissions and limitations
# under the License.
from __future__ import print_function
from operator import xor
import os


+ 0
- 2
tools/install_venv.py View File

@ -20,8 +20,6 @@
Installation script for Nova's development virtualenv
"""
from __future__ import print_function
import optparse
import os
import subprocess


Loading…
Cancel
Save