37ba903c62a0a0e4305126750fb321eb1946eab4,wandb/sdk/wandb_init.py,_WandbInit,_safe_symlink,#_WandbInit#Any#Any#Any#Any#,194
Before Change
pass
target = os.path.relpath(target, base)
os.symlink(target, tmp_name)
os.rename(tmp_name, name)
os.chdir(owd)
def _pause_backend(self):
if self.backend is not None:
After Change
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):
In pattern: SUPERPATTERN
Frequency: 3
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: 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: danforthcenter/plantcv
Commit Name: 91f510ce6f4ab0a31824e3fb389155363ce433b3
Time: 2017-06-22
Author: noahfahlgren@gmail.com
File Name: tests/tests.py
Class Name:
Method Name: test_plantcv_report_size_marker
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