Skip to content
Snippets Groups Projects
Commit 64851de5 authored by Mike Hommey's avatar Mike Hommey
Browse files

Bug 1256574 - Make the part writing and executing config.status importable for c-c. r=gps

parent 40a0583b
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,10 @@ def main(argv):
if sandbox._help:
return 0
return config_status(config)
def config_status(config):
# Sanitize config data to feed config.status
sanitized_config = {}
sanitized_config['substs'] = {
......@@ -69,5 +73,6 @@ if __name__ == '__main__':
return subprocess.call([config['PYTHON'], 'config.status'])
return 0
if __name__ == '__main__':
sys.exit(main(sys.argv))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment