Remove print. (#5867)

This commit is contained in:
Jiaming Yuan 2020-07-08 04:12:14 +08:00 committed by GitHub
parent a3ec964346
commit d0a29c3135
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -366,7 +366,6 @@ class DataIter:
ret = self.next(data_handle) # pylint: disable=not-callable
except Exception as e: # pylint: disable=broad-except
tb = sys.exc_info()[2]
print('Got an exception in Python')
self.exception = e.with_traceback(tb)
return 0
return ret