regcode: Fix gbind_attribute code check error
Fix that excuting command 'regcode check' would encounter "error:
gbind_attribute is not present in RW_VPD", just remove the
indention.
BUG=None
TEST=Run manually
Change-Id: I7e34945154d62b439843b951070f585e47dec096
Reviewed-on: https://chromium-review.googlesource.com/1627448
Commit-Ready: Guohui Zhou <guohui.zhou@bitland.corp-partner.google.com>
Tested-by: Marco Chen <marcochen@chromium.org>
Tested-by: Guohui Zhou <guohui.zhou@bitland.corp-partner.google.com>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Reviewed-by: Marco Chen <marcochen@chromium.org>
diff --git a/py/tools/regcode.py b/py/tools/regcode.py
index e7d808a..a6cdbef 100755
--- a/py/tools/regcode.py
+++ b/py/tools/regcode.py
@@ -127,7 +127,7 @@
sys.exit(1)
rw_vpd = dut.vpd.rw.GetAll()
- code = rw_vpd.get(vpd_attribute)
+ code = rw_vpd.get(vpd_attribute)
if not code:
sys.stderr.write('error: %s is not present in RW VPD\n' %
vpd_attribute)