Commit 2301b5a8 authored by Łukasz Nowak's avatar Łukasz Nowak

Revert "Fixup e86433b1."

This reverts commit a060bed1.
parent a060bed1
...@@ -227,7 +227,7 @@ def _syncComputerInformation(func): ...@@ -227,7 +227,7 @@ def _syncComputerInformation(func):
else: else:
setattr(self, key, value) setattr(self, key, value)
setattr(self, '_synced', True) setattr(self, '_synced', True)
for computer_partition in computer.getComputerPartitionList(): for computer_partition in self.getComputerPartitionList():
setattr(computer_partition, '_synced', True) setattr(computer_partition, '_synced', True)
return func(self, *args, **kw) return func(self, *args, **kw)
return decorated return decorated
...@@ -326,7 +326,7 @@ def _syncComputerPartitionInformation(func): ...@@ -326,7 +326,7 @@ def _syncComputerPartitionInformation(func):
else: else:
setattr(self, key, value) setattr(self, key, value)
setattr(self, '_synced', True) setattr(self, '_synced', True)
for computer_partition in computer.getComputerPartitionList(): for computer_partition in self.getComputerPartitionList():
setattr(computer_partition, '_synced', True) setattr(computer_partition, '_synced', True)
return func(self, *args, **kw) return func(self, *args, **kw)
return decorated return decorated
......
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