| Index: systrace/profile_chrome/util.py
|
| diff --git a/third_party/py_vulcanize/py_vulcanize/js_utils.py b/systrace/profile_chrome/util.py
|
| similarity index 62%
|
| copy from third_party/py_vulcanize/py_vulcanize/js_utils.py
|
| copy to systrace/profile_chrome/util.py
|
| index 6e6ca9db674be52b9c3d030d4b1d54444f814352..75ef1b6ffac8daee9f5a510ee82feb5109c0dc1b 100644
|
| --- a/third_party/py_vulcanize/py_vulcanize/js_utils.py
|
| +++ b/systrace/profile_chrome/util.py
|
| @@ -2,6 +2,7 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| +import time
|
|
|
| -def EscapeJSIfNeeded(js):
|
| - return js.replace('</script>', '<\/script>')
|
| +def GetTraceTimestamp():
|
| + return time.strftime('%Y-%m-%d-%H%M%S', time.localtime())
|
|
|