summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2015-11-12 11:16:06 +0000
committerintrigeri <intrigeri@boum.org>2015-11-12 11:19:56 +0000
commit49f4acd28e955ed5cca2d4d4e30e94c4f39ac982 (patch)
tree663e8fec4a950fce58c00298a7643f75eaf3a3a6
parentf5146178474320b39f151885e879d6e16360a17c (diff)
Fix method invocation syntax.
Fixes regression introduced by the conflict resolution in 57452e20f34877f048c08f3dc15a1125299cdb3c.
-rwxr-xr-xtails_installer/creator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tails_installer/creator.py b/tails_installer/creator.py
index c17752e..cf8f6a7 100755
--- a/tails_installer/creator.py
+++ b/tails_installer/creator.py
@@ -906,7 +906,7 @@ class LinuxTailsInstallerCreator(TailsInstallerCreator):
def is_partition_GPT(self, drive=None):
# Check if the partition scheme is GPT
if drive:
- obj = self._get_object[drive['udi']]
+ obj = self._get_object(drive['udi'])
else:
obj = self._get_object()
partition_table = obj.props.partition_table