Skip to content

Commit

Permalink
suppress errors in fbcode/vision - batch 2
Browse files Browse the repository at this point in the history
Differential Revision: D28962863

fbshipit-source-id: 7acc8e2f08ea7a94294647431561ff2cfd52a97d
  • Loading branch information
Pyre Bot Jr authored and facebook-github-bot committed Jun 8, 2021
1 parent f00ef66 commit ac6c07f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pytorch3d/io/obj_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,7 @@ def load_obj(
None.
"""
data_dir = "./"
# pyre-fixme[6]: Expected `Union[typing.Type[typing.Any],
# typing.Tuple[typing.Type[typing.Any], ...]]` for 2nd param but got `Any`.
if isinstance(f, (str, bytes, os.PathLike)):
# pyre-fixme[6]: Expected `_PathLike[Variable[typing.AnyStr <: [str,
# bytes]]]` for 1st param but got `Union[_PathLike[typing.Any], bytes, str]`.
data_dir = os.path.dirname(f)
if path_manager is None:
path_manager = PathManager()
Expand Down

0 comments on commit ac6c07f

Please sign in to comment.