diff options
author | Matthew Crymble <matthew.crymble@ni.com> | 2021-11-30 14:50:14 -0600 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-12-08 12:08:29 -0800 |
commit | 8fd2aa80ab7609cc16e5922149c8ec453153c7c8 (patch) | |
tree | 7273e611fd8cd7adcb79280fd0c65470372c0ccd /fpga/usrp2/top/extract_usage.py | |
parent | 38c2a19e04c6e0467a6cc79977ab51a030f9735d (diff) | |
download | uhd-8fd2aa80ab7609cc16e5922149c8ec453153c7c8.tar.gz uhd-8fd2aa80ab7609cc16e5922149c8ec453153c7c8.tar.bz2 uhd-8fd2aa80ab7609cc16e5922149c8ec453153c7c8.zip |
fpga: usrp2: update build tools to use python3
Diffstat (limited to 'fpga/usrp2/top/extract_usage.py')
-rwxr-xr-x | fpga/usrp2/top/extract_usage.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fpga/usrp2/top/extract_usage.py b/fpga/usrp2/top/extract_usage.py index 6e6fac206..ebd5827b6 100755 --- a/fpga/usrp2/top/extract_usage.py +++ b/fpga/usrp2/top/extract_usage.py @@ -40,7 +40,7 @@ def extract_maps(): for line in ALL_MAP_FILES.splitlines(): path, name = line.split() if not os.path.exists(path): - print 'DNE ', path, ' skipping...' + print('DNE {} skipping...'.format(path)) output += """ @@ -54,5 +54,5 @@ def extract_maps(): if __name__ == '__main__': summary = extract_maps() - if len(sys.argv) == 1: print summary + if len(sys.argv) == 1: print(summary) else: open(sys.argv[1], 'w').write(summary) |