summaryrefslogtreecommitdiffstats
path: root/build/plugins/res.py
diff options
context:
space:
mode:
authorsnermolaev <[email protected]>2022-02-10 16:45:53 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:45:53 +0300
commit2015790ac9fcc04caab83fccc23ab2460310a797 (patch)
treee644e9bc3f6f688561a871793b59bf8a637e0f72 /build/plugins/res.py
parentc768a99151e47c3a4bb7b92c514d256abd301c4d (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'build/plugins/res.py')
-rw-r--r--build/plugins/res.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/plugins/res.py b/build/plugins/res.py
index a937caba816..baeec9e6eb5 100644
--- a/build/plugins/res.py
+++ b/build/plugins/res.py
@@ -100,7 +100,7 @@ def onresource_files(unit, *args):
src = 'resfs/src/{}={}'.format(key, rootrel_arc_src(path, unit))
res += ['-', src, path, key]
- if unit.enabled('_GO_MODULE'):
- unit.on_go_resource(res)
- else:
- unit.onresource(res)
+ if unit.enabled('_GO_MODULE'):
+ unit.on_go_resource(res)
+ else:
+ unit.onresource(res)