From: Jan Szejko Date: Wed, 30 Aug 2017 10:01:52 +0000 (+0200) Subject: minor fix X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/b51090fd595f1f7787bb39b638f1bcf4cac7b676?ds=sidebyside;hp=d55ea605b29c6a30f3e10c20325335a9d4ae672b minor fix --- diff --git a/apps/catalogue/management/commands/mark_final.py b/apps/catalogue/management/commands/mark_final.py index 91281bbb..5fe025e5 100644 --- a/apps/catalogue/management/commands/mark_final.py +++ b/apps/catalogue/management/commands/mark_final.py @@ -41,7 +41,7 @@ class Command(BaseCommand): print 'processing %s' % book.slug chunk = book.chunk_set.first() src = chunk.head.materialize() - new_head = chunk.commit( + chunk.commit( text=src, author=user, description=u'Ostateczna akceptacja merytoryczna przez kierownika literackiego.', @@ -49,4 +49,3 @@ class Command(BaseCommand): publishable=True ) print 'committed %s' % book.slug - new_head.set_publishable(True)