Merge "Fix the wrong error message"

This commit is contained in:
Tao Bao 2015-06-03 16:30:20 +00:00 committed by Gerrit Code Review
commit 54310d1a0d
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ class EdifyGenerator(object):
"""Check that there's at least 'amount' space that can be made
available on /cache."""
self.script.append(('apply_patch_space(%d) || abort("Not enough free space '
'on /system to apply patches.");') % (amount,))
'on /cache to apply patches.");') % (amount,))
def Mount(self, mount_point, mount_options_by_format=""):
"""Mount the partition with the given mount_point.