Merge "common.py: Fix the build."
This commit is contained in:
@@ -1259,6 +1259,9 @@ class BlockDifference(object):
|
|||||||
self.path = os.path.join(tmpdir, partition)
|
self.path = os.path.join(tmpdir, partition)
|
||||||
b.Compute(self.path)
|
b.Compute(self.path)
|
||||||
|
|
||||||
|
if src is None:
|
||||||
|
_, self.device = GetTypeAndDevice("/" + partition, OPTIONS.info_dict)
|
||||||
|
else:
|
||||||
_, self.device = GetTypeAndDevice("/" + partition,
|
_, self.device = GetTypeAndDevice("/" + partition,
|
||||||
OPTIONS.source_info_dict)
|
OPTIONS.source_info_dict)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user