]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Fixes docstring formats in connector.py.
authorDietmar Noll <dnoll@de.ibm.com>
Tue, 13 Aug 2013 17:02:36 +0000 (10:02 -0700)
committerDietmar Noll <dnoll@de.ibm.com>
Tue, 13 Aug 2013 17:02:36 +0000 (10:02 -0700)
Docstrings should now comply with HACKING.rst

Change-Id: Ia75ee0e4ceb32f312a2dc7e3c89379b5f2708767
Fixes: bug #1211861
cinder/brick/initiator/connector.py

index 26a706755c71e03f7b9dcc8e1317552596b973ca..c35449cc8a17ef44c6c1de3a827970629287d30e 100644 (file)
@@ -112,14 +112,16 @@ class InitiatorConnector(executor.Executor):
         return True
 
     def connect_volume(self, connection_properties):
-        """Connect to a volume. The connection_properties
-        describes the information needed by the specific
-        protocol to use to make the connection.
+        """Connect to a volume.
+
+        The connection_properties describes the information needed by
+        the specific protocol to use to make the connection.
         """
         raise NotImplementedError()
 
     def disconnect_volume(self, connection_properties, device_info):
         """Disconnect a volume from the local host.
+
         The connection_properties are the same as from connect_volume.
         The device_info is returned from connect_volume.
         """
@@ -127,7 +129,7 @@ class InitiatorConnector(executor.Executor):
 
 
 class ISCSIConnector(InitiatorConnector):
-    """"Connector class to attach/detach iSCSI volumes."""
+    """Connector class to attach/detach iSCSI volumes."""
 
     def __init__(self, driver=None, execute=putils.execute,
                  root_helper="sudo", use_multipath=False,
@@ -461,7 +463,7 @@ class ISCSIConnector(InitiatorConnector):
 
 
 class FibreChannelConnector(InitiatorConnector):
-    """"Connector class to attach/detach Fibre Channel volumes."""
+    """Connector class to attach/detach Fibre Channel volumes."""
 
     def __init__(self, driver=None, execute=putils.execute,
                  root_helper="sudo", use_multipath=False,