Chromium Code Reviews| Index: third_party/typ/typ/host.py |
| diff --git a/third_party/typ/typ/host.py b/third_party/typ/typ/host.py |
| index fc9e11304cdb47f4baafac2b52a0753f901dc402..42890db5f5d01be9a81898921a2b3f8bbfd43be6 100644 |
| --- a/third_party/typ/typ/host.py |
| +++ b/third_party/typ/typ/host.py |
| @@ -57,7 +57,7 @@ class Host(object): |
| def add_to_path(self, *comps): |
| absolute_path = self.abspath(*comps) |
| if absolute_path not in sys.path: |
| - sys.path.append(absolute_path) |
| + sys.path.insert(0, absolute_path) |
|
nednguyen
2016/06/20 04:33:30
note that this can be disrupted for some project i
Dirk Pranke
2016/06/20 16:19:26
Can you explain further? Are you saying typ should
nednguyen
2016/06/20 17:29:59
Adding this is good for the reason in https://gith
|
| def basename(self, path): |
| return os.path.basename(path) |