gpt_parser: update class commentary
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Fri, 19 Apr 2013 13:29:38 +0000 (16:29 +0300)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Fri, 19 Apr 2013 13:29:38 +0000 (16:29 +0300)
We now support CRC checking and partition table changing, so update
commentaries.

Change-Id: Id3acd1699d2da2752d6d05c4400404361a3e5634
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
mic/utils/gpt_parser.py

index 2f1d2d7..7ca0a78 100644 (file)
@@ -76,10 +76,8 @@ def _validate_header(raw_hdr):
                          (crc, raw_hdr[3]))
 
 class GptParser:
-    """ GPT partition table parser. The current implementation is simplified
-    and it assumes that the partition table is correct, so it does not check
-    the CRC-32 checksums and does not handle the backup GPT partition table.
-    But this implementation can be extended in the future, if needed. """
+    """ GPT partition table parser. Allows reading the GPT header and the
+    partition table, as well as modifying the partition table records. """
 
     def __init__(self, disk_path, sector_size = 512):
         """ The class constructor which accepts the following parameters: