Chop out py2 code
This commit is contained in:
parent
97f90bc58a
commit
e0f638d227
@ -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):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user