def add_labels_to_issue(self, issue_id, labels=[]):
        msg('Add Labels to Issue.  Issue: [%s] Labels: [%s]' % (issue_id, labels))

        if not issue_id or not type(labels) in [list, tuple]:
            return
        
        if len(labels) == 0:
            return
    
        label_url = (GITHUB_TARGET_USERNAME, GITHUB_TARGET_REPOSITORY, issue_id) % 'https://api.github.com/repos/%s/%s/issues/%s/labels'
    
        #labels = json.dumps(['invalid', 'bug', 'enhancement', 'duplicate'])#['Bug', 'invalid'])
        labels_for_call = json.dumps(labels)
        msg('labels: %s' % labels_for_call)
        
        req = requests.post(label_url, auth=self.auth, data=labels_for_call) 

        msg('result: %s' % req.text)
dataset/ETHPy150Open IQSS/redmine2github/src/github_issues/label_helper.py/LabelHelper.add_labels_to_issue/swapped operands of `%`