Merge pull request #1106 from ceph/wip-flake8

fix flake8 errors

Reviewed-by: Samuel Just <sjust@redhat.com>
This commit is contained in:
Samuel Just 2016-07-28 14:53:15 -07:00 committed by GitHub
commit 31d781958e
2 changed files with 1 additions and 2 deletions

View File

@ -523,7 +523,6 @@ class Filesystem(MDSCluster):
Retrieve an object from the metadata pool and store it in a file.
"""
temp_bin_path = '/tmp/' + object_id + '.bin'
object_type = "InoTable"
self.client_remote.run(args=[
'sudo', os.path.join(self._prefix, 'rados'), '-p', self.metadata_pool_name, 'get', object_id, temp_bin_path

View File

@ -5,4 +5,4 @@ skipsdist = True
[testenv:flake8]
deps=
flake8
commands=flake8 --select=F,E9 --exclude=venv
commands=flake8 --select=F,E9 --exclude=venv,.tox