diff options
-rw-r--r-- | authors.txt | 1 | ||||
-rw-r--r-- | contributing.txt | 2 | ||||
-rw-r--r-- | mesonbuild/interpreter.py | 5 |
3 files changed, 3 insertions, 5 deletions
diff --git a/authors.txt b/authors.txt index f591d13..c2e8388 100644 --- a/authors.txt +++ b/authors.txt @@ -54,3 +54,4 @@ Alexandre Foley Jouni Kosonen Aurelien Jarno Mark Schulte +Paulo Antonio Alvarez diff --git a/contributing.txt b/contributing.txt index 7553ab0..cb71ca0 100644 --- a/contributing.txt +++ b/contributing.txt @@ -32,7 +32,7 @@ those are simple. External dependencies The goal of Meson is to be as easily usable as possible. The user -experience thould be "get Python3 and Ninja, run", even on +experience should be "get Python3 and Ninja, run", even on Windows. Unfortunately this means that we can't have dependencies on projects outside of Python's standard library. This applies only to core functionality, though. For additional helper programs etc the use diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py index 561cc19..0030660 100644 --- a/mesonbuild/interpreter.py +++ b/mesonbuild/interpreter.py @@ -2177,10 +2177,7 @@ requirements use the version keyword argument instead.''') % subdir) self.visited_subdirs[subdir] = True self.subdir = subdir - try: - os.makedirs(os.path.join(self.environment.build_dir, subdir)) - except FileExistsError: - pass + os.makedirs(os.path.join(self.environment.build_dir, subdir), exist_ok=True) buildfilename = os.path.join(self.subdir, environment.build_filename) self.build_def_files.append(buildfilename) absname = os.path.join(self.environment.get_source_dir(), buildfilename) |