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

Unified Diff: breakpad.py

Issue 4176004: Reenable breakpad in the DC by enabling .chromium.org suffix. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 10 years, 2 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: breakpad.py
diff --git a/breakpad.py b/breakpad.py
index b7d52bb833ee913e75a62c7d38492dcdb463e07a..70e43ca6d4d3f5e8454be3f6a947f99a0999dd28 100644
--- a/breakpad.py
+++ b/breakpad.py
@@ -74,8 +74,9 @@ def Register():
# Skip unit tests and we don't want anything from non-googler.
if (not 'test' in sys.modules['__main__'].__file__ and
- socket.getfqdn().endswith('.google.com') and
- not 'NO_BREAKPAD' in os.environ):
+ not 'NO_BREAKPAD' in os.environ and
+ (socket.getfqdn().endswith('.google.com') or
+ socket.getfqdn().endswith('.chromium.org'))):
jochen (gone - plz use gerrit) 2010/10/27 11:21:20 nit indent one space less
Register()
# Uncomment this line if you want to test it out.
« 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