Skip to content
This repository has been archived by the owner on Jan 28, 2020. It is now read-only.

Commit

Permalink
fixed debug statement
Browse files Browse the repository at this point in the history
  • Loading branch information
ShawnMilo committed Aug 21, 2015
1 parent e4b0ed9 commit 0f5c408
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions taxonomy/signals/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ def add_default_curation_term(sender, **kwargs):
log.error(
(
"Unable to add default curation status value to "
"learning resource pk {0}. Expected 1 matching "
"term, found {1}"
).format(instance.id, terms.count())
"learning resource pk %s. Expected 1 matching "
"term, found %s."
), instance.id, terms.count()
)
return
instance.terms.add(terms[0])

0 comments on commit 0f5c408

Please sign in to comment.