diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-05-21 12:41:39 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-05-21 12:41:39 -0700 |
commit | 7a0ae20872841e0f3a242fba33cb18e65b95b14e (patch) | |
tree | e1065249f321edcf6d0b0a6a3067bbf0aacafce1 /tools/cache.py | |
parent | c1c49555772ea8598d3b942f485b907dd49cf0c1 (diff) | |
parent | 184ff9ea2d18c09988226afb90328679e9818d0d (diff) |
Merge pull request #1187 from imvu/scons-embind-build-system
SCons/embind build system
Diffstat (limited to 'tools/cache.py')
-rw-r--r-- | tools/cache.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/cache.py b/tools/cache.py index 13a53fe9..c316a1fd 100644 --- a/tools/cache.py +++ b/tools/cache.py @@ -49,7 +49,10 @@ class JCache: def ensure(self): self.cache.ensure() if not os.path.exists(self.dirname): - os.makedirs(self.dirname) + try: + os.makedirs(self.dirname) + except (IOError, OSError): + pass def get_shortkey(self, keys): if type(keys) not in [list, tuple]: |