devserver: module import cleanup
* Import statements re-grouped: standard lib, third party,
project-local; separated by a single line, preceded by a single line
and followed by two lines. Each group is sorted alphabetically.
* Removed unused imports.
BUG=None
TEST=Passes unit tests.
Change-Id: Iee4f78b1256457bd19b2c159a29763ba3404c272
Reviewed-on: https://gerrit.chromium.org/gerrit/33859
Reviewed-by: Chris Sosa <sosa@chromium.org>
Commit-Ready: Gilad Arnold <garnold@chromium.org>
Tested-by: Gilad Arnold <garnold@chromium.org>
diff --git a/update_firmware_image.py b/update_firmware_image.py
index 260f662..7e0254c 100755
--- a/update_firmware_image.py
+++ b/update_firmware_image.py
@@ -1,8 +1,8 @@
#!/usr/bin/python
-# Copyright(c) 2012 The Chromium OS Author. All Rights Reserved.
+# Copyright (c) 2009-2012 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
+# found in the LICENSE file.
"""This script updates given firmware in shellball and puts in an image.
@@ -23,6 +23,7 @@
#__author__ = 'rchenna@google.com (Rajesh Chenna)'
+# TODO(garnold) deprecated module, switch to using subprocess.
import commands
import logging
import optparse
@@ -30,6 +31,7 @@
import re
import sys
+
# Constants
dev_keys = '$HOME/trunk/src/platform/vboot_reference/tests/devkeys'
mount_gpt_image = '$HOME/trunk/src/scripts/mount_gpt_image.sh'