projects
/
platform
/
upstream
/
gobject-introspection.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
965ff4c
)
[scanner] Catch OSError too when checking for libtool
author
Colin Walters
<walters@verbum.org>
Wed, 17 Feb 2010 16:18:18 +0000
(11:18 -0500)
committer
Colin Walters
<walters@verbum.org>
Wed, 17 Feb 2010 16:18:18 +0000
(11:18 -0500)
If we don't have permission to execute the libtool binary, we'd
just throw here which is wrong. Fix this by catching all
exceptions.
giscanner/utils.py
patch
|
blob
|
history
diff --git
a/giscanner/utils.py
b/giscanner/utils.py
index 00d7a8857cd7fe8e6280233112f23ca21b39335c..3bbf33be853873025ac20c6f81b21249288daeb2 100644
(file)
--- a/
giscanner/utils.py
+++ b/
giscanner/utils.py
@@
-97,7
+97,7
@@
def get_libtool_command(options):
try:
subprocess.check_call(['libtool', '--version'],
stdout=open(os.devnull))
- except
subprocess.CalledProcessError, e
:
+ except:
# If libtool's not installed, assume we don't need it
return None