Fix some miscellaneous style error.
BUG=b:73868308
TEST=make test
Change-Id: I120d9ccfc4931f7630e3e4aef14d8c44faad3ac8
Reviewed-on: https://chromium-review.googlesource.com/937142
Commit-Ready: Pi-Hsun Shih <pihsun@chromium.org>
Tested-by: Pi-Hsun Shih <pihsun@chromium.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
diff --git a/py/utils/pygpt.py b/py/utils/pygpt.py
index 2394d32..9eea57e 100755
--- a/py/utils/pygpt.py
+++ b/py/utils/pygpt.py
@@ -340,16 +340,16 @@
"""
FORMAT_ARGS = [
- ('begin', 'beginning sector'),
- ('size', 'partition size'),
- ('type', 'type guid'),
- ('unique', 'unique guid'),
- ('label', 'label'),
- ('Successful', 'Successful flag'),
- ('Tries', 'Tries flag'),
- ('Priority', 'Priority flag'),
- ('Legacy', 'Legacy Boot flag'),
- ('Attribute', 'raw 16-bit attribute value (bits 48-63)')]
+ ('begin', 'beginning sector'),
+ ('size', 'partition size'),
+ ('type', 'type guid'),
+ ('unique', 'unique guid'),
+ ('label', 'label'),
+ ('Successful', 'Successful flag'),
+ ('Tries', 'Tries flag'),
+ ('Priority', 'Priority flag'),
+ ('Legacy', 'Legacy Boot flag'),
+ ('Attribute', 'raw 16-bit attribute value (bits 48-63)')]
def __init__(self):
pass
@@ -380,8 +380,8 @@
logging.warn('- No extra space to expand.')
elif free_space:
logging.warn('Extra space found (%d, LBA=%d), '
- 'use --expand to expand partitions.',
- free_space, free_space / gpt.BLOCK_SIZE)
+ 'use --expand to expand partitions.',
+ free_space, free_space / gpt.BLOCK_SIZE)
gpt.WriteToFile(args.image_file)
print('Disk image file %s repaired.' % args.image_file.name)