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

Unified Diff: breakpad.py

Issue 2239010: Use getfqdn() instead of gethostname() (Closed)
Patch Set: Created 10 years, 7 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 356774d89bc9ee574edfb2fe4908adbc888093b7..6818c9e0e882986323d39bd4464d68da45dca7c3 100644
--- a/breakpad.py
+++ b/breakpad.py
@@ -43,6 +43,6 @@ def CheckForException():
if (not 'test' in sys.modules['__main__'].__file__ and
- socket.gethostname().endswith('.google.com')):
+ socket.getfqdn().endswith('.google.com')):
# Skip unit tests and we don't want anything from non-googler.
atexit.register(CheckForException)
« 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