37ba903c62a0a0e4305126750fb321eb1946eab4,wandb/sdk/wandb_init.py,_WandbInit,_safe_symlink,#_WandbInit#Any#Any#Any#Any#,194

Before Change


            except OSError:
                pass
        target = os.path.relpath(target, base)
        os.symlink(target, tmp_name)
        os.rename(tmp_name, name)
        os.chdir(owd)

    def _pause_backend(self):

After Change


            except OSError:
                pass
        target = os.path.relpath(target, base)
        try:
            os.symlink(target, tmp_name)
            os.rename(tmp_name, os.path.join(base, name))
        except OSError:
            pass

    def _pause_backend(self):
        if self.backend is not None:
            logger.info("pausing backend")
            self.backend.interface.publish_pause()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: wandb/client
Commit Name: 37ba903c62a0a0e4305126750fb321eb1946eab4
Time: 2020-10-21
Author: kdgoyette@gmail.com
File Name: wandb/sdk/wandb_init.py
Class Name: _WandbInit
Method Name: _safe_symlink


Project Name: pantsbuild/pants
Commit Name: a453ca8ccbdcc08f3f530abb878ea2b9484745e3
Time: 2014-12-09
Author: tinystatemachine@gmail.com
File Name: src/python/pants/goal/run_tracker.py
Class Name: RunTracker
Method Name: __init__


Project Name: wandb/client
Commit Name: 37ba903c62a0a0e4305126750fb321eb1946eab4
Time: 2020-10-21
Author: kdgoyette@gmail.com
File Name: wandb/sdk_py27/wandb_init.py
Class Name: _WandbInit
Method Name: _safe_symlink


Project Name: pantsbuild/pants
Commit Name: a453ca8ccbdcc08f3f530abb878ea2b9484745e3
Time: 2014-12-09
Author: tinystatemachine@gmail.com
File Name: src/python/pants/goal/initialize_reporting.py
Class Name:
Method Name: initial_reporting