Commit cd9e7347 authored by Yingjie Xu's avatar Yingjie Xu

Remove duplicated function calls.

parent 69aa6878
......@@ -570,9 +570,9 @@ class Slapgrid(object):
# Process Computer Partitions
clean_run = True
for computer_partition in self.getComputerPartitionList():
instance_path = os.path.join(self.instance_root,
computer_partition.getId())
computer_partition_id = computer_partition.getId()
instance_path = os.path.join(
self.instance_root, computer_partition_id)
try:
software_url = computer_partition.getSoftwareRelease().getURI()
except NotFoundError:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment