Index: tools/bots/dart_sdk.py |
diff --git a/tools/bots/dart_sdk.py b/tools/bots/dart_sdk.py |
index decf8766ab67e9f50845fdaa6351b56231cea0a1..795288538a1ec813772b05a4917ede366efc7c14 100644 |
--- a/tools/bots/dart_sdk.py |
+++ b/tools/bots/dart_sdk.py |
@@ -39,11 +39,9 @@ def BuildDartdocAPIDocs(dirname): |
'tools', 'bots', 'dartdoc_footer.html') |
url = 'https://api.dartlang.org/stable' |
with bot.BuildStep('Build API docs by dartdoc'): |
- subprocess.call([dart_exe, '--package-root=' + packages_dir, dartdoc_dart, |
- '--sdk-docs','--output', dirname, '--dart-sdk', dart_sdk, |
- '--footer' , footer_file, |
- '--rel-canonical-prefix=' + url], |
- stdout=open(os.devnull, 'wb')) |
+ bot_utils.run([dart_exe, '--package-root=' + packages_dir, dartdoc_dart, |
ricow1
2015/12/11 06:29:30
Just Run to be consistent with the rest of this fi
|
+ '--sdk-docs','--output', dirname, '--dart-sdk', dart_sdk, |
+ '--footer' , footer_file, '--rel-canonical-prefix=' + url]) |
def CreateUploadVersionFile(): |
file_path = os.path.join(bot_utils.DART_DIR, |