

def __init__(self, source, target, import_config, source_comments=None, source_attachments=None):
    super(CsvYouTrackImporter, self).__init__(source, target, import_config)
    self._after = 0
    self._comments = dict()
    self._attachments = dict()
    if c:
        for c in source_comments.get_rows():
            issue_id = ('%s-%s' % (c[0], c[1]))
            if (issue_id not in self._comments):
                self._comments[issue_id] = []
            self._comments[issue_id].append(c[2:])
    if source_attachments:
        for a in source_attachments.get_rows():
            issue_id = ('%s-%s' % (a[0], a[1]))
            if (issue_id not in self._attachments):
                self._attachments[issue_id] = []
            self._attachments[issue_id].append(a[2:])

dataset/ETHPy150Open JetBrains/youtrack-rest-python-library/python/csv2youtrack.py CsvYouTrackImporter.__init__/VarMisuse@63/81 `source_comments`->`c`