Commit a1e30dda authored by Christian Hergert's avatar Christian Hergert
Browse files

phpize: don't unnecessarily raise runtime error

parent d11be87e
......@@ -171,10 +171,10 @@ class PHPizeBuildSystemDiscovery(GObject.Object, Ide.BuildSystemDiscovery):
stream = open(config_m4.get_path(), encoding='UTF-8')
if 'PHP_ARG_ENABLE' in stream.read():
return ('phpize', 1000)
except Exception as ex:
print(repr(ex))
except:
pass
raise RuntimeError("Not a phpize build system")
return (None, 0)
class PHPizeBuildPipelineAddin(Ide.Object, Ide.BuildPipelineAddin):
"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment