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

Unified Diff: tools/telemetry/telemetry/core/util.py

Issue 103433002: [telemetry] Script for finding all Telemetry dependencies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove file for realz Created 6 years, 10 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 | « tools/telemetry/run_tests ('k') | tools/telemetry/telemetry/page/cloud_storage.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/util.py
diff --git a/tools/telemetry/telemetry/core/util.py b/tools/telemetry/telemetry/core/util.py
index 55a286327fb6eb6e4e46c2439d62fbe5daea3dc4..018d8b1732a3b830ce7276f15f843c1884c7990c 100644
--- a/tools/telemetry/telemetry/core/util.py
+++ b/tools/telemetry/telemetry/core/util.py
@@ -16,14 +16,14 @@ class TimeoutException(Exception):
def GetBaseDir():
main_module = sys.modules['__main__']
if hasattr(main_module, '__file__'):
- return os.path.dirname(os.path.abspath(main_module.__file__))
+ return os.path.dirname(os.path.realpath(main_module.__file__))
else:
return os.getcwd()
def GetTelemetryDir():
return os.path.normpath(os.path.join(
- __file__, os.pardir, os.pardir, os.pardir))
+ os.path.realpath(__file__), os.pardir, os.pardir, os.pardir))
def GetUnittestDataDir():
« no previous file with comments | « tools/telemetry/run_tests ('k') | tools/telemetry/telemetry/page/cloud_storage.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698