3d5925dba5decc294e857462665ee293efe1da14,studio/tartifact_store.py,,get_immutable_artifact_key,#Any#Any#,432

Before Change



def get_immutable_artifact_key(arthash, compression="bzip2"):
    retval = "blobstore/" + arthash + ".tar"
    if compression and any(compression):
        retval = retval + "." + compression
    return retval

After Change




def get_immutable_artifact_key(arthash, compression=None):
    retval = "blobstore/" + arthash + ".tar" + \
             compression_to_extension(compression)[0]
    return retval
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: studioml/studio
Commit Name: 3d5925dba5decc294e857462665ee293efe1da14
Time: 2017-10-19
Author: peter.zhokhov@sentient.ai
File Name: studio/tartifact_store.py
Class Name:
Method Name: get_immutable_artifact_key


Project Name: studioml/studio
Commit Name: 3d5925dba5decc294e857462665ee293efe1da14
Time: 2017-10-19
Author: peter.zhokhov@sentient.ai
File Name: studio/tartifact_store.py
Class Name: TartifactStore
Method Name: put_artifact


Project Name: studioml/studio
Commit Name: 3d5925dba5decc294e857462665ee293efe1da14
Time: 2017-10-19
Author: peter.zhokhov@sentient.ai
File Name: studio/keyvalue_provider.py
Class Name: KeyValueProvider
Method Name: add_experiment