From 782b9c05c686bdd9f12c2e8f0a98f0e68c0f0bad Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Feb 27 2015 13:19:47 +0000 Subject: Fix typos in progit.lib.remove_issue_tags (thanks unit-tests!) --- diff --git a/progit/lib/__init__.py b/progit/lib/__init__.py index e86fd7f..7ebc3d5 100644 --- a/progit/lib/__init__.py +++ b/progit/lib/__init__.py @@ -259,10 +259,10 @@ def remove_issue_tags(session, project, tags): msgs = [] if not issues: raise progit.exceptions.ProgitException( - 'No issue found with the tag: %s' % tag) + 'No issue found with the tags: %s' % ', '.join(tags)) else: for issue in issues: - for issue_tag in issue[0].tags: + for issue_tag in issue.tags: if issue_tag.tag in tags: tag = issue_tag.tag session.delete(issue_tag)