ceph-disk: fix some bad indention

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
ceph-disk: directly return from hasmagic

Directly return True/False from hasmagic to avoid usage
of local variable and redefining name from outer scope.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
ceph-disk: add missing spaces around '=' operator

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
ceph-disk: rename dooutput() type parameter to disk_type

Rename dooutput() 'type' parameter to 'disk_type' to fix :
Redefining built-in 'type'

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
ceph-disk: fix Redefining name 'uuid' from outer scope

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
ceph-disk: fix 'Catching too general exception Exception'

Catch 'MountError' raised by mount instead of general 'Exception'.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Merge pull request #154 from dalgaaf/wip-da-disk-list

Fix some python issues introduced by wip-disk-list

Reviewed-by: Sage Weil <sage@inktank.com>