Chop out py2 code

This commit is contained in:
Simeon Warner 2020-12-21 16:27:20 -05:00
parent 97f90bc58a
commit e0f638d227

View File

@ -131,8 +131,6 @@ class ResourceListBuilder():
raise ValueError("Must specify path, resource_list and mapper")
# is path a directory or a file? for each file: create Resource object,
# add, increment counter
if (sys.version_info < (3, 0)):
path = path.decode('utf-8')
if os.path.isdir(path):
num_files = 0
for dirpath, dirs, files in os.walk(path, topdown=True):