Skip to content

Commit

Permalink
Just use the __str__ of review instead
Browse files Browse the repository at this point in the history
  • Loading branch information
harlowja committed Feb 22, 2014
1 parent 219c59d commit c847e1f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/czuul
Expand Up @@ -282,9 +282,8 @@ class Finder(threading.Thread):
change_id = review.change_id

if change_id is None:
raise ValueError("Can not detail a review %s of project %s"
" without a change identifier"
% (review_id, project))
raise ValueError("Can not detail review %s if it has no change"
" identifier" % (review))

LOG.debug("Fetching details for %s - %s/%s",
project, review_id, change_id)
Expand Down

0 comments on commit c847e1f

Please sign in to comment.