Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 674454f2 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "build_image.py: remove extra new lines in error message"

parents 254bd9a1 92fb2311
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -660,12 +660,12 @@ def BuildImage(in_dir, prop_dict, out_file, target_out=None):
    success, du = GetDiskUsage(origin_in)
    du_str = ("%d bytes (%d MB)" % (du, du // BYTES_IN_MB)
             ) if success else "unknown"
    print("Out of space? The tree size of %s is %s.\n" % (
    print("Out of space? The tree size of %s is %s." % (
        origin_in, du_str))
    print("The max is %d bytes (%d MB).\n" % (
    print("The max is %d bytes (%d MB)." % (
        int(prop_dict["partition_size"]),
        int(prop_dict["partition_size"]) // BYTES_IN_MB))
    print("Reserved space is %d bytes (%d MB).\n" % (
    print("Reserved space is %d bytes (%d MB)." % (
        int(prop_dict.get("partition_reserved_size", 0)),
        int(prop_dict.get("partition_reserved_size", 0)) // BYTES_IN_MB))
    return False