diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2017-09-24 14:06:36 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2017-09-24 14:11:56 +0200 |
| commit | 3b5633913d18e06c5c36c103b9f160cce114ad9e (patch) | |
| tree | 02abe8664489c14e53b226c157303224e71f9d51 /examples/allnoconfig_simpler.py | |
| parent | b9509c0fbc13679393389611a5c4b88b0324306a (diff) | |
Use os.access() in get_defconfig_filename()
...instead of os.path.exists(). This more closely mimics the test in the
C implementation, which boils down to fopen(file, "r") == NULL.
Could open(filename) and catch exceptions too, but it might be
overkilling things.
Diffstat (limited to 'examples/allnoconfig_simpler.py')
0 files changed, 0 insertions, 0 deletions
