parameters: (filename, srcdirs)
return_statement: return properties
docstring: Merges properties from the given file in the given source directories.
docstring_summary: Merges properties from the given file in the given source directories.
docstring_tokens: Merges properties from the given file in the given source directories .
function: 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
function_tokens: 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