paycheck: Fix format compliance errors.
BUG=None
TEST=None
Change-Id: I2d810bae961387a63495ba5bbe85b7222b5f86ef
Reviewed-on: https://chromium-review.googlesource.com/246672
Commit-Queue: Gilad Arnold <garnold@chromium.org>
Tested-by: Gilad Arnold <garnold@chromium.org>
Reviewed-by: Chris Sosa <sosa@chromium.org>
Reviewed-by: Don Garrett <dgarrett@chromium.org>
diff --git a/scripts/update_payload/checker_unittest.py b/scripts/update_payload/checker_unittest.py
index 2c68637..9ca5a64 100755
--- a/scripts/update_payload/checker_unittest.py
+++ b/scripts/update_payload/checker_unittest.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
#
# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
@@ -6,6 +6,8 @@
"""Unit testing checker.py."""
+from __future__ import print_function
+
import array
import collections
import cStringIO
@@ -98,6 +100,7 @@
Args:
start_block: The starting block of the extent.
num_blocks: The number of blocks in the extent.
+
Returns:
An Extent message.
"""
@@ -114,6 +117,7 @@
Args:
*args: (start_block, num_blocks) pairs defining the extents.
+
Returns:
A list of Extent objects.
"""
@@ -151,6 +155,7 @@
convert: A representation conversion function.
linebreak: Whether or not a linebreak is to be used in the report.
indent: Indentation used for the report.
+
Returns:
msg: A mock message object.
report: A mock report object.