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
commitc8e3995898c443e78266f7420aac5fb3da15d413 (patch)
treea530e068cc107e227deccc80722204db63a4d75d /build/plugins/_xsyn_includes.py
parent110a978b66fe6c0916572df51cfead2a9b647174 (diff)
downloadydb-c8e3995898c443e78266f7420aac5fb3da15d413.tar.gz
Restoring authorship annotation for <kakabba@yandex-team.ru>. Commit 1 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 8d33cea2f0..5077419912 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)