(self, target_dict, new_dict)
return target_dict
Update target_dict with new_dict. Lists of indefinite length are appended.
Update target_dict with new_dict. Lists of indefinite length are appended.
Update target_dict with new_dict . Lists of indefinite length are appended .
def _merge_arguments(self, target_dict, new_dict):
        """Update target_dict with new_dict. Lists of indefinite length are appended."""
        for a in new_dict:
            try:
                if (a in target_dict and ARGUMENTS[a][u'list'] == u'*' and target_dict[a]):
                    target_dict[a] += u',' + new_dict[a]
                    continue
            except KeyError:
                pass
            # override
            target_dict[a] = new_dict[a]
        return target_dict
def _merge_arguments ( self , target_dict , new_dict ) : for a in new_dict : try : if ( a in target_dict and ARGUMENTS [ a ] [ u'list' ] == u'*' and target_dict [ a ] ) : target_dict [ a ] += u',' + new_dict [ a ] continue except KeyError : pass # override target_dict [ a ] = new_dict [ a ] return target_dict