d88e7595485d87071e8a1678a27b76f0fe2f3bc8,src/python/pants/base/fingerprint_strategy.py,TaskIdentityFingerprintStrategy,_build_hasher,#TaskIdentityFingerprintStrategy#Any#,74
Before Change
def _build_hasher(self, target):
hasher = hashlib.sha1()
hasher.update(target.payload.fingerprint() or "")
hasher.update(self._task.fingerprint or "")
return hasher
def compute_fingerprint(self, target):
After Change
hasher.update(payload_fingerprint)
task_fingerprint = self._task.fingerprint or ""
logger.debug("task fingerprint for %s is: %s", self._task, task_fingerprint)
hasher.update(task_fingerprint)
return hasher
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: pantsbuild/pants
Commit Name: d88e7595485d87071e8a1678a27b76f0fe2f3bc8
Time: 2016-11-05
Author: kwilson@twopensource.com
File Name: src/python/pants/base/fingerprint_strategy.py
Class Name: TaskIdentityFingerprintStrategy
Method Name: _build_hasher
Project Name: elfi-dev/elfi
Commit Name: dc73bdbc98563b65177b86bc5ca103d6778dc09b
Time: 2017-02-16
Author: jarno.lintusaari@aalto.fi
File Name: elfi/native_client.py
Class Name: OutputCompiler
Method Name: compile
Project Name: home-assistant/home-assistant
Commit Name: 8c943c966a8a870387c417f67d22fae96faa003c
Time: 2016-04-28
Author: alexander.fortin@gmail.com
File Name: homeassistant/components/feedreader.py
Class Name: FeedManager
Method Name: _publish_new_entries