Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(652)

Unified Diff: tools/observatory_tool.py

Issue 1360263002: Fix observatory_tool so it works in mojo tree again (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/observatory_tool.py
diff --git a/tools/observatory_tool.py b/tools/observatory_tool.py
index 062ad1c24f40a5582834220a83f6e3e1c3d7cad1..68fcd86d9f2537b97f3959c7048e05b8baf0c807 100755
--- a/tools/observatory_tool.py
+++ b/tools/observatory_tool.py
@@ -44,6 +44,10 @@ def ProcessOptions(options, args):
# Required options.
if options.command is None or options.directory is None:
return False
+
+ # Set a default value for pub_snapshot.
+ options.pub_snapshot = None
+
# If we have a working pub executable, try and use that.
# TODO(whesse): Drop the pub-executable option if it isn't used.
if options.pub_executable is not None:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698