summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTails developers <tails@boum.org>2014-05-26 08:17:06 +0000
committerTails developers <tails@boum.org>2014-05-26 08:17:06 +0000
commit9a94a8328a8f5974e6326b825060f787ca110fef (patch)
tree5f5b920f4ca33226bc170e8cadeb7ba742d4046a
parenta3d85c67e701f3a71d3edfc71dc1fe37da29213b (diff)
Clarify variable name and info message.feature/6577-convert-to-UEFI
-rwxr-xr-xliveusb/creator.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/liveusb/creator.py b/liveusb/creator.py
index 408f770..077d633 100755
--- a/liveusb/creator.py
+++ b/liveusb/creator.py
@@ -874,17 +874,17 @@ class LinuxLiveUSBCreator(LiveUSBCreator):
self._set_partition_flags(self.drive['device'], 1, SYSTEM_PARTITION_FLAGS)
def update_system_partition_properties(self):
- self.log.info(_('Updating properties of system partition on device %(device)s') % {
- 'device': self.drive['device']
+ self.log.info(_('Updating properties of system partition %(system_partition)s') % {
+ 'system_partition': self.drive['device']
})
- dev = self._get_device(self.drive['udi'])
+ system_partition = self._get_device(self.drive['udi'])
partition_type = ESP_GUID
label = self.label
flags = dbus.Array(signature='s')
- dev.PartitionModify(partition_type, label, flags)
+ system_partition.PartitionModify(partition_type, label, flags)
# We still need to set the system partition flags as udisks cannot
# do it (as of Wheezy).