def sync(self, master_issue_id, slave_issue_id):
        _master_issue_id = master_issue_id
        _slave_issue_id =  slave_issue_id
        _result = None
        try:
            if not master_issue_id and slave_issue_id:
                _master_issue_id = self.issue_binder.slaveIssueIdToMasterIssueId(slave_issue_id)
                _result = _master_issue_id
            elif not slave_issue_id and master_issue_id:
                _slave_issue_id = self.issue_binder.masterIssueIdToSlaveIssueId(master_issue_id)
                _result = _slave_issue_id
            self._sync(_master_issue_id, _slave_issue_id, self.last_run, self.current_run)
        except __HOLE__, error:
            print error
        return _result
dataset/ETHPy150Open JetBrains/youtrack-rest-python-library/python/sync/issues.py/AsymmetricIssueMerger.sync