Skip to content
This repository was archived by the owner on Nov 18, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions testing/web/debugger/debugger.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,16 @@
# limitations under the License.
"""Web Test Launcher Debugger Front-End."""

from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import code
import getpass
import hashlib
import json
import socket
import sys
import urllib
from six.moves import urllib


class Debugger:
Expand Down Expand Up @@ -135,7 +138,7 @@ def delete_breakpoint(self, breakpoint_id):

def collect_analytics():
try:
urllib.urlopen(
urllib.request.urlopen(
"http://www.google-analytics.com/collect?v=1&aip=1&tid=UA-52159295-3"
"&t=screenview&cd=start&an=WTL+Debugger&uid=" +
hashlib.md5(getpass.getuser()).hexdigest()).close
Expand Down