def assert_publishable(self):
assert self.chunk_set.exists(), _('No chunks in the book.')
try:
changes = self.get_current_changes(publishable=True)
except self.NoTextError:
def assert_publishable(self):
assert self.chunk_set.exists(), _('No chunks in the book.')
try:
changes = self.get_current_changes(publishable=True)
except self.NoTextError: