def _import_issues(self, project_id):
        limit = 100
        all_issues = self._get_issues(project_id)
        while True:
            issues = list(itertools.islice(all_issues, None, limit))
            if not len(issues):
                break
            self._target.importIssues(project_id, project_id + u' assignees',
                [self._to_yt_issue(issue, project_id) for issue in issues])
            for issue in issues:
                issue_id = self._get_issue_id(issue)
                issue_attachments = self._get_attachments(issue)
                yt_issue_id = (project_id, issue_id) % u'%s-%s'
                self._import_attachments(yt_issue_id, issue_attachments)
dataset/ETHPy150Open JetBrains/youtrack-rest-python-library/python/youtrackImporter.py/YouTrackImporter._import_issues/swapped operands of `%`