diff options
author | tekireeva <[email protected]> | 2022-02-10 16:51:38 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:51:38 +0300 |
commit | e9d6dd2e511aaaec9e6182b7ae9327dce82a051d (patch) | |
tree | b0c986cf74d10d4aea897f76c8dcec5ee84efc4f /build/plugins/res.py | |
parent | 597c5894e3c8cdfa680c5a5e8c2e69b61dce8254 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'build/plugins/res.py')
-rw-r--r-- | build/plugins/res.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/build/plugins/res.py b/build/plugins/res.py index a937caba816..0c4e8947879 100644 --- a/build/plugins/res.py +++ b/build/plugins/res.py @@ -78,11 +78,11 @@ def onresource_files(unit, *args): dest = None res = [] first = 0 - - if args and not unit.enabled('_GO_MODULE'): - # GO_RESOURCE currently doesn't support DONT_PARSE - res.append('DONT_PARSE') - + + if args and not unit.enabled('_GO_MODULE'): + # GO_RESOURCE currently doesn't support DONT_PARSE + res.append('DONT_PARSE') + if args and args[0] == 'DONT_PARSE': first = 1 |