Merge "common.py: Fix the build."
This commit is contained in:
@@ -1259,8 +1259,11 @@ 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)
|
||||||
|
|
||||||
_, self.device = GetTypeAndDevice("/" + partition,
|
if src is None:
|
||||||
OPTIONS.source_info_dict)
|
_, self.device = GetTypeAndDevice("/" + partition, OPTIONS.info_dict)
|
||||||
|
else:
|
||||||
|
_, self.device = GetTypeAndDevice("/" + partition,
|
||||||
|
OPTIONS.source_info_dict)
|
||||||
|
|
||||||
def WriteScript(self, script, output_zip, progress=None):
|
def WriteScript(self, script, output_zip, progress=None):
|
||||||
if not self.src:
|
if not self.src:
|
||||||
|
Reference in New Issue
Block a user