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

Unified Diff: dart/tools/archive_crash.py

Issue 150433003: Version 1.2.0-dev.2.4 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 11 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 | « dart/tools/VERSION ('k') | dart/tools/test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tools/archive_crash.py
===================================================================
--- dart/tools/archive_crash.py (revision 32163)
+++ dart/tools/archive_crash.py (working copy)
@@ -14,6 +14,7 @@
import sys
import subprocess
import tarfile
+import utils
import uuid
GCS_FOLDER = 'dart-crashes'
@@ -33,6 +34,9 @@
print 'Dump now available in %s' % (archived_filename)
def Main():
+ if utils.GuessOS() != 'linux':
+ print 'Currently only archiving crash dumps on linux'
+ return 0
print 'Looking for crash dumps'
num_dumps = 0
for v in os.listdir('/tmp'):
« no previous file with comments | « dart/tools/VERSION ('k') | dart/tools/test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698