Commit 5e715b22 authored by Logan Chien's avatar Logan Chien
Browse files

vndk-def: Use EnvironmentError in Python 2

This commit uses `EnvironmentError` as a replacement for
`FileNotFoundError`, which was introduced in Python 3.  Before this
commit, `OSError` was chosen.  However, some Python API raises
`IOError` instead.

Bug: 113636759
Test: ./tests/run.py
Change-Id: I4a1cbceb3404dec243a60271a6fdb30703bc1060
parent afd0f2d8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment