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

Unified Diff: appengine/predator/analysis/__init__.py

Issue 2447253002: [Findit & Predator] Code reorg of Findit. (Closed)
Patch Set: Clean up. Created 4 years, 1 month 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
Index: appengine/predator/analysis/__init__.py
diff --git a/appengine/predator/analysis/__init__.py b/appengine/predator/analysis/__init__.py
new file mode 100644
index 0000000000000000000000000000000000000000..aa2c60b962216d424676997be11b80524c6bd258
--- /dev/null
+++ b/appengine/predator/analysis/__init__.py
@@ -0,0 +1,8 @@
+import os
+import sys
+
+# Analysis module depends on the first-party libs.
+# Do not add the third-party libs until needed.
+_THIS_DIR = os.path.dirname(os.path.realpath(__file__))
+_FIRST_PARTY_DIR = os.path.join(_THIS_DIR, 'first_party')
+sys.path.insert(0, _FIRST_PARTY_DIR)

Powered by Google App Engine
This is Rietveld 408576698