builder.py: Fix linter errors.
BUG=None
TEST=None
Change-Id: Ic57b664b10b51ebe1659352373952a9a9ea00695
Reviewed-on: https://chromium-review.googlesource.com/275721
Commit-Queue: Gilad Arnold <garnold@chromium.org>
Tested-by: Gilad Arnold <garnold@chromium.org>
Reviewed-by: Bertrand Simonnet <bsimonnet@chromium.org>
diff --git a/builder.py b/builder.py
index e37e215..a102280 100644
--- a/builder.py
+++ b/builder.py
@@ -1,11 +1,11 @@
-#!/usr/bin/python
-
# Copyright (c) 2009-2011 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Package builder for the dev server."""
+from __future__ import print_function
+
import os
import subprocess
import tempfile
@@ -42,8 +42,10 @@
Args:
command: A list of arguments, beginning with the executable
+
Returns:
The output of the command
+
Raises:
subprocess.CalledProcessError if the command fails
"""