6ffda41d1538a5f8e6eab953346a95505c84c40c,src/python/twitter/pants/python/resolver.py,MultiResolver,__init__,#MultiResolver#Any#Any#Any#,43

Before Change


    platforms = config.getlist("python-setup", "platforms", ["current"])
    if isinstance(target, PythonBinary) and target.platforms:
      platforms = target.platforms
    self._install_cache = config.get("python-setup", "install_cache")
    self._crawler = self.crawler(config, conn_timeout=conn_timeout)
    self._fetchers = self.fetchers(config, target)
    self._platforms = get_platforms(platforms)
    super(MultiResolver, self).__init__(cache=self._install_cache)

After Change




class PythonResolver(object):
  _VALID_DEPENDENCIES = {
    PythonLibrary: "libraries",
    PythonRequirement: "reqs",
    PythonBinary: "binaries",
    PythonThriftLibrary: "thrifts",
    PythonAntlrLibrary: "antlrs",
    PythonTests: "tests"
  }
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: pantsbuild/pants
Commit Name: 6ffda41d1538a5f8e6eab953346a95505c84c40c
Time: 2014-01-17
Author: travis@twitter.com
File Name: src/python/twitter/pants/python/resolver.py
Class Name: MultiResolver
Method Name: __init__


Project Name: home-assistant/home-assistant
Commit Name: 09d531b3b95e7943df53233d1abcb40d7e87de94
Time: 2016-08-18
Author: nkgilley@gmail.com
File Name: homeassistant/components/media_player/gpmdp.py
Class Name:
Method Name: setup_platform


Project Name: home-assistant/home-assistant
Commit Name: 847d9736aa002a6db025d0b4633eccf373231b56
Time: 2015-10-25
Author: tom.duijf@gmail.com
File Name: homeassistant/components/media_player/plex.py
Class Name:
Method Name: setup_platform