"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "SCons/Tool/GettextCommon.py" between
SCons-4.3.0.tar.gz and SCons-4.4.0.tar.gz

About: SCons is a software construction tool (a Python script and a set of modules as a superior alternative to the classic "Make" build tool).

GettextCommon.py  (SCons-4.3.0):GettextCommon.py  (SCons-4.4.0)
skipping to change at line 196 skipping to change at line 196
if 'src_builder' not in kw: if 'src_builder' not in kw:
kw['src_builder'] = '_POTUpdateBuilder' kw['src_builder'] = '_POTUpdateBuilder'
if 'single_source' not in kw: if 'single_source' not in kw:
kw['single_source'] = True kw['single_source'] = True
alias = None alias = None
if 'target_alias' in kw: if 'target_alias' in kw:
alias = kw['target_alias'] alias = kw['target_alias']
del kw['target_alias'] del kw['target_alias']
if 'target_factory' not in kw: if 'target_factory' not in kw:
kw['target_factory'] = _POTargetFactory(env, alias=alias).File kw['target_factory'] = _POTargetFactory(env, alias=alias).File
BuilderBase.__init__(self, **kw) super().__init__(**kw)
def _execute(self, env, target, source, *args, **kw): def _execute(self, env, target, source, *args, **kw):
""" Execute builder's actions. """ Execute builder's actions.
Here we append to `target` the languages read from `$LINGUAS_FILE` and Here we append to `target` the languages read from `$LINGUAS_FILE` and
apply `SCons.Builder.BuilderBase._execute()` separatelly to each target. apply `SCons.Builder.BuilderBase._execute()` separatelly to each target.
The arguments and return value are same as for The arguments and return value are same as for
`SCons.Builder.BuilderBase._execute()`. `SCons.Builder.BuilderBase._execute()`.
""" """
import SCons.Node import SCons.Node
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)