Make code line length less than 79 characters

Lines should be wrapped at 79 characters.

TrivialFix

Change-Id: Ic18dec35c2471e14a9e01d949345bcb7ab4c093b
This commit is contained in:
yuyafei 2016-06-20 17:32:09 +08:00
parent 0fbaad5730
commit 5343bf0211
1 changed files with 5 additions and 3 deletions

View File

@ -1067,11 +1067,13 @@ class ISCSIConnector(BaseLinuxConnector):
self._get_all_targets(connection_properties)]
else:
# we are looking for paths in the format :
# /dev/disk/by-path/pci-XXXX:XX:XX.X-ip-PORTAL:PORT-iscsi-IQN-lun-LUN_ID
# /dev/disk/by-path/
# pci-XXXX:XX:XX.X-ip-PORTAL:PORT-iscsi-IQN-lun-LUN_ID
device_list = []
for x in self._get_all_targets(connection_properties):
look_for_device = glob.glob('/dev/disk/by-path/*ip-%s-iscsi-%s-lun-%s' # noqa
% self._munge_portal(x))
look_for_device = glob.glob(
'/dev/disk/by-path/*ip-%s-iscsi-%s-lun-%s' %
self._munge_portal(x))
if look_for_device:
device_list.extend(look_for_device)
return device_list