From: Josh Durgin Date: Wed, 9 Nov 2011 00:06:33 +0000 (-0800) Subject: Remove unused imports and variable. X-Git-Tag: 1.1.0~2742 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=006a0dd423a36ab7165ba821fefb5b3b6e884354;p=teuthology.git Remove unused imports and variable. --- diff --git a/teuthology/orchestra/test/test_cluster.py b/teuthology/orchestra/test/test_cluster.py index 0b746a068..0616fc2d9 100644 --- a/teuthology/orchestra/test/test_cluster.py +++ b/teuthology/orchestra/test/test_cluster.py @@ -5,8 +5,6 @@ import nose from .. import cluster, remote -from .util import assert_raises - @nose.with_setup(fudge.clear_expectations) @fudge.with_fakes def test_init_empty(): diff --git a/teuthology/task/ceph_manager.py b/teuthology/task/ceph_manager.py index f8b05c9dd..1d63967b6 100644 --- a/teuthology/task/ceph_manager.py +++ b/teuthology/task/ceph_manager.py @@ -4,7 +4,6 @@ import time import re import gevent import json -from ..orchestra import run class Thrasher(gevent.Greenlet): def __init__(self, manager, config, logger=None): diff --git a/teuthology/task/lost_unfound.py b/teuthology/task/lost_unfound.py index 906f29d74..0fd1c6375 100644 --- a/teuthology/task/lost_unfound.py +++ b/teuthology/task/lost_unfound.py @@ -1,9 +1,6 @@ -import contextlib import logging import ceph_manager from teuthology import misc as teuthology -import time -import json log = logging.getLogger(__name__) diff --git a/teuthology/task/radosgw-admin.py b/teuthology/task/radosgw-admin.py index b4e1c53a0..62f753437 100644 --- a/teuthology/task/radosgw-admin.py +++ b/teuthology/task/radosgw-admin.py @@ -1,9 +1,5 @@ from cStringIO import StringIO -from configobj import ConfigObj -import base64 -import contextlib import logging -import os import json import boto.exception @@ -11,9 +7,6 @@ import boto.s3.connection import boto.s3.acl from teuthology import misc as teuthology -from teuthology import contextutil -from ..orchestra import run -from ..orchestra.connection import split_user log = logging.getLogger(__name__) @@ -69,7 +62,6 @@ def task(ctx, config): subuser2='foo:foo2' display_name='Foo' email='foo@foo.com' - auid='1234' access_key='9te6NH5mcdcq0Tc5i8i1' secret_key='Ny4IOauQoL18Gp2zM7lC1vLmoawgqcYP/YGcWfXu' access_key2='p5YnriCv1nAtykxBrupQ'