summaryrefslogtreecommitdiffstats
path: root/build/plugins/_import_wrapper.py
diff options
context:
space:
mode:
authorAnton Samokhvalov <[email protected]>2022-02-10 16:45:15 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:45:15 +0300
commit72cb13b4aff9bc9cf22e49251bc8fd143f82538f (patch)
treeda2c34829458c7d4e74bdfbdf85dff449e9e7fb8 /build/plugins/_import_wrapper.py
parent778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (diff)
Restoring authorship annotation for Anton Samokhvalov <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'build/plugins/_import_wrapper.py')
-rw-r--r--build/plugins/_import_wrapper.py32
1 files changed, 16 insertions, 16 deletions
diff --git a/build/plugins/_import_wrapper.py b/build/plugins/_import_wrapper.py
index 883f6623147..2f26f909740 100644
--- a/build/plugins/_import_wrapper.py
+++ b/build/plugins/_import_wrapper.py
@@ -1,24 +1,24 @@
try:
- from ymake import CustomCommand as RealCustomCommand
+ from ymake import CustomCommand as RealCustomCommand
from ymake import addrule
from ymake import addparser
- from ymake import subst
-
- class CustomCommand(RealCustomCommand):
- def __init__(self, *args, **kwargs):
- RealCustomCommand.__init__(*args, **kwargs)
-
- def resolve_path(self, path):
- return subst(path)
+ from ymake import subst
+ class CustomCommand(RealCustomCommand):
+ def __init__(self, *args, **kwargs):
+ RealCustomCommand.__init__(*args, **kwargs)
+
+ def resolve_path(self, path):
+ return subst(path)
+
except ImportError:
from _custom_command import CustomCommand # noqa
from _custom_command import addrule # noqa
from _custom_command import addparser # noqa
-
-
-try:
- from ymake import engine_version
-except ImportError:
- def engine_version():
- return -1
+
+
+try:
+ from ymake import engine_version
+except ImportError:
+ def engine_version():
+ return -1