(filename, srcdirs)
return properties
Merges properties from the given file in the given source directories.
Merges properties from the given file in the given source directories.
Merges properties from the given file in the given source directories .
def merge_properties(filename, srcdirs):
    """Merges properties from the given file in the given source directories."""
    properties = DotProperties()
    for srcdir in srcdirs:
        path = mozpath.join(srcdir, filename)
        try:
            properties.update(path)
        except IOError:
            # Ignore non-existing files
            continue
    return properties
def merge_properties ( filename , srcdirs ) : properties = DotProperties ( ) for srcdir in srcdirs : path = mozpath . join ( srcdir , filename ) try : properties . update ( path ) except IOError : # Ignore non-existing files continue return properties