summaryrefslogtreecommitdiff
path: root/gr-utils
diff options
context:
space:
mode:
Diffstat (limited to 'gr-utils')
-rw-r--r--gr-utils/src/python/gr_read_file_metadata5
1 files changed, 2 insertions, 3 deletions
diff --git a/gr-utils/src/python/gr_read_file_metadata b/gr-utils/src/python/gr_read_file_metadata
index 850c29ee7..ba530ca54 100644
--- a/gr-utils/src/python/gr_read_file_metadata
+++ b/gr-utils/src/python/gr_read_file_metadata
@@ -44,10 +44,9 @@ def main(filename):
except RuntimeError:
sys.stderr.write("Could not deserialize header: invalid or corrupt data file.\n")
sys.exit(1)
- #gr.pmt_print(header)
print "HEADER {0}".format(nheaders)
- info = parse_file_metadata.parse_header(header, hdr_start, True)
+ info = parse_file_metadata.parse_header(header, True)
if(info["extra_len"] > 0):
extra_str = handle.read(info["extra_len"])
@@ -64,7 +63,7 @@ def main(filename):
extra_info = parse_file_metadata.parse_extra_dict(extra, info, True)
nheaders += 1
- nread += info['nbytes'] + parse_file_metadata.HEADER_LENGTH + info["extra_len"] + 1
+ nread += info['nbytes'] + parse_file_metadata.HEADER_LENGTH + info["extra_len"]
handle.seek(nread, 0)
print "\n\n"