paritionedfs: improve readability
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Fri, 4 Jan 2013 13:01:52 +0000 (15:01 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Thu, 10 Jan 2013 12:13:17 +0000 (14:13 +0200)
commit7b634dc8b7fb0661ebf9f0eb37bfb20c105b0f00
tree6039227ab28104256d519a31240072ea4bca0d20
parent1cd3ebdea0dbcc074587b0391dcb955e2f803be4
paritionedfs: improve readability

Rename the 'disk' key in parition and subvolume dictionaries into 'disk_name',
because it is really a disk name string. Old name is very confusing because
the disks dictionary also has a 'disk' key which points to a real disk object.
I was many times confused by this when I was trying to understand the code, and
now it is time to clean the mess up a bit.

Change-Id: I58526ce719f831051924498550df5de9b3ebd737
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
mic/imager/raw.py
mic/utils/partitionedfs.py