Remove duplicate code.

parent 86268421
...@@ -665,10 +665,6 @@ class Slapgrid(object): ...@@ -665,10 +665,6 @@ class Slapgrid(object):
# If partition has been successfully processed, write timestamp # If partition has been successfully processed, write timestamp
if timestamp: if timestamp:
timestamp_path = os.path.join(
instance_path,
COMPUTER_PARTITION_TIMESTAMP_FILENAME
)
open(timestamp_path, 'w').write(timestamp) open(timestamp_path, 'w').write(timestamp)
def FilterComputerPartitionList(self, computer_partition_list): def FilterComputerPartitionList(self, computer_partition_list):
......
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