xapi-project/sm — pull request #203 by wangyanbn (2014-08-08 07:13:52+00:00)
Title: Update devscan.py

Fix _extract_dev_name(device_dir) bug:
some device dir has no subdir "block/" , this will cause "IndexError: list index out of range".
In my test environment, LUN 0 has no "block/" subdir, but other LUNs are OK.