Fix all occurences of H404 Hacking warning

This fixes all triggers of hacking 0.6.x's warning:
H404 - multi line docstring should start with a summary.
and enables gating check on H404.

Change-Id: I034bd1f05da3f279d8d79aa14a7f6ce8bef5047c
This commit is contained in:
Dirk Mueller
2013-06-29 13:38:13 +02:00
committed by Avishay Traeger
parent 226b824e73
commit 6e7ecda166
40 changed files with 316 additions and 424 deletions

View File

@@ -59,9 +59,7 @@ class API(base.Base):
return dict(rv.iteritems())
def delete(self, context, transfer_id):
"""
Make the RPC call to delete a volume transfer.
"""
"""Make the RPC call to delete a volume transfer."""
volume_api.check_policy(context, 'delete_transfer')
transfer = self.db.transfer_get(context, transfer_id)