diff options
author | Simon Glass <sjg@chromium.org> | 2019-05-14 15:53:39 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2019-07-10 16:52:45 -0600 |
commit | d141f6c1cacc754a691507db736a21b8eda2a630 (patch) | |
tree | 797a51db4f643fa6ef8fb9f081febd37865055e0 /tools/binman/entry.py | |
parent | 35343dc41493666261e37a8a559b78eb2841a528 (diff) | |
download | u-boot-d141f6c1cacc754a691507db736a21b8eda2a630.tar.gz |
binman: Remove use of Set()
A new built-in set() is used in both Python 2 and 3 now. Move it to use
that instead of Set().
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/entry.py')
-rw-r--r-- | tools/binman/entry.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/binman/entry.py b/tools/binman/entry.py index 648cfd241f..d842d89dd6 100644 --- a/tools/binman/entry.py +++ b/tools/binman/entry.py @@ -18,7 +18,6 @@ except: have_importlib = False import os -from sets import Set import sys import fdt_util @@ -178,8 +177,8 @@ class Entry(object): # It would be better to use isinstance(self, Entry_blob_dtb) here but # we cannot access Entry_blob_dtb if fname and fname.endswith('.dtb'): - return Set([fname]) - return Set() + return set([fname]) + return set() def ExpandEntries(self): pass |