summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorYun Mao <yunmao@gmail.com>2012-08-24 20:51:25 -0400
committerYun Mao <yunmao@gmail.com>2012-08-25 09:23:33 -0400
commit72815cfa963e307df9376ec9eeb296dc45b8acbc (patch)
tree8d26519e817df4b4ded231fd992a4299afc9f3ad /nova/utils.py
parent1e5914a45dab1597d2b973aa17ff321fe8ec9b55 (diff)
downloadnova-72815cfa963e307df9376ec9eeb296dc45b8acbc.tar.gz
nova-72815cfa963e307df9376ec9eeb296dc45b8acbc.tar.xz
nova-72815cfa963e307df9376ec9eeb296dc45b8acbc.zip
Define default mode and device_id_string in Mount
self.mode is not a valid class member in the Mount abstract class, but used in map_dev(). Although all the subclasses define it so there is no runtime bug, define it to avoid confusion and better readability. Do the same thing for device_id_string as precaution too. Partially fix bug 1037183 Change-Id: Ica32db1ca17c6ed967f2c310b1d54adeb5f4247c
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions