- #~ conflicts = []
- #~ for slug, book_list in slugs.items():
- #~ if len(book_list) > 1:
- #~ conflicts.append((slug, book_list))
- #~ if conflicts:
- #~ print self.style.ERROR("There is more than one book "
- #~ "with the same slug in dc:url. "
- #~ "Merge or hide them before proceeding.")
- #~ for slug, book_list in sorted(conflicts):
- #~ print slug
- #~ print "\n".join(b.slug for b in book_list)
- #~ print
- #~ return
-