aboutsummaryrefslogtreecommitdiffstats
path: root/build/plugins/_xsyn_includes.py
diff options
context:
space:
mode:
authorkakabba <kakabba@yandex-team.ru>2022-02-10 16:46:04 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:04 +0300
commit9c914f41ba5e9f9365f404e892197553ac23809e (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /build/plugins/_xsyn_includes.py
parentc8e3995898c443e78266f7420aac5fb3da15d413 (diff)
downloadydb-9c914f41ba5e9f9365f404e892197553ac23809e.tar.gz
Restoring authorship annotation for <kakabba@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'build/plugins/_xsyn_includes.py')
-rw-r--r--build/plugins/_xsyn_includes.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/plugins/_xsyn_includes.py b/build/plugins/_xsyn_includes.py
index 5077419912..8d33cea2f0 100644
--- a/build/plugins/_xsyn_includes.py
+++ b/build/plugins/_xsyn_includes.py
@@ -1,4 +1,4 @@
-def get_include_callback():
+def get_include_callback():
"""
.. function: get_include_callback returns function that processes each DOM element to get xsyn include from it, and it's aware of directory with all the xsyns.
@@ -55,6 +55,6 @@ def process_xsyn(filepath, on_element):
return res
-def get_all_includes(filepath):
- callback = get_include_callback()
- return process_xsyn(filepath, callback)
+def get_all_includes(filepath):
+ callback = get_include_callback()
+ return process_xsyn(filepath, callback)