diff options
Diffstat (limited to 'wrapper.py')
-rw-r--r-- | wrapper.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,3 @@ | |||
1 | # -*- coding:utf-8 -*- | ||
2 | # | ||
3 | # Copyright (C) 2014 The Android Open Source Project | 1 | # Copyright (C) 2014 The Android Open Source Project |
4 | # | 2 | # |
5 | # Licensed under the Apache License, Version 2.0 (the "License"); | 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
@@ -14,7 +12,6 @@ | |||
14 | # See the License for the specific language governing permissions and | 12 | # See the License for the specific language governing permissions and |
15 | # limitations under the License. | 13 | # limitations under the License. |
16 | 14 | ||
17 | from __future__ import print_function | ||
18 | try: | 15 | try: |
19 | from importlib.machinery import SourceFileLoader | 16 | from importlib.machinery import SourceFileLoader |
20 | _loader = lambda *args: SourceFileLoader(*args).load_module() | 17 | _loader = lambda *args: SourceFileLoader(*args).load_module() |
@@ -27,7 +24,10 @@ import os | |||
27 | def WrapperPath(): | 24 | def WrapperPath(): |
28 | return os.path.join(os.path.dirname(__file__), 'repo') | 25 | return os.path.join(os.path.dirname(__file__), 'repo') |
29 | 26 | ||
27 | |||
30 | _wrapper_module = None | 28 | _wrapper_module = None |
29 | |||
30 | |||
31 | def Wrapper(): | 31 | def Wrapper(): |
32 | global _wrapper_module | 32 | global _wrapper_module |
33 | if not _wrapper_module: | 33 | if not _wrapper_module: |