pylinting: unused variable

parent 5d4e1522
...@@ -829,9 +829,8 @@ class Slapgrid(object): ...@@ -829,9 +829,8 @@ class Slapgrid(object):
# If partition has no SR: skip it. # If partition has no SR: skip it.
try: try:
software_url = computer_partition.getSoftwareRelease().getURI() os.path.join(self.software_root, getSoftwareUrlHash(
software_path = os.path.join(self.software_root, computer_partition.getSoftwareRelease().getURI()))
getSoftwareUrlHash(software_url))
except (NotFoundError, TypeError): except (NotFoundError, TypeError):
# This is surely free partition. Check it... # This is surely free partition. Check it...
if os.listdir(computer_partition_path) == []: if os.listdir(computer_partition_path) == []:
......
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